blob: 62973d458a44625f2ff2822563259dc66c79711a [file] [log] [blame]
/* PR target/60062 */
int a;
static void
foo (const char *p1, int p2)
{
if (__builtin_strcmp (p1, "hello") != 0)
__builtin_abort ();
}
static void
bar (const char *p1)
{
if (__builtin_strcmp (p1, "hello") != 0)
__builtin_abort ();
}
__attribute__((optimize (0))) int
main ()
{
foo ("hello", a);
bar ("hello");
return 0;
}