gcc.c-torture/execute/pr36321.c fails on m32c because the simulator doesn't set argv[0] *and* the simulator has NULL pointer detection:
void foo(char *str)
{
int len2 = strlen (str);
. . .
int main(int argc, char **argv)
{
foo (argv[0]);
What are the expectations here? Do we expect simulators to set up
argv[0]? (the m32c BSP acts like you're on real hardware) Do we expect
simulators to blithely ignore NULL pointer references?
