Merge branches/gcc-4_8-branch rev 208968.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / gcc.c-torture / execute / pr60062.c
blob62973d458a44625f2ff2822563259dc66c79711a
1 /* PR target/60062 */
3 int a;
5 static void
6 foo (const char *p1, int p2)
8 if (__builtin_strcmp (p1, "hello") != 0)
9 __builtin_abort ();
12 static void
13 bar (const char *p1)
15 if (__builtin_strcmp (p1, "hello") != 0)
16 __builtin_abort ();
19 __attribute__((optimize (0))) int
20 main ()
22 foo ("hello", a);
23 bar ("hello");
24 return 0;