How about this?
--- gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr36321.c 2008-07-23 00:21:31.000000000 -0400 +++ ./pr36321.c 2008-11-24 13:46:04.000000000 -0500 @@ -17,7 +17,9 @@ } +static char * volatile argp = "pr36321.x"; + int main(int argc, char **argv) { - foo (argv[0]); + foo (argp); return 0; }