blob: 3f892a2e375c8d81c9a0658759476349f8fa3a47 [file] [log] [blame]
/* This test case would get an unresolved symbol during link
because stabs referred to an optimized-away literal pool
entry. */
/* { dg-do run { target s390*-*-* } } */
/* { dg-options "-O2 -fno-omit-frame-pointer -gstabs" } */
int main (void)
{
static char buf[4096];
char *p;
do
{
p = buf;
asm volatile ("" : : : "memory", "0", "1", "2", "3", "4", "5", "6",
"7", "8", "9", "10", "12");
}
while (*p);
return 0;
}