OSDN Git Service

Index: gcc/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20041216-1.c
1 /* This test case would get an unresolved symbol during link
2    because stabs referred to an optimized-away literal pool
3    entry.  */
4
5 /* { dg-do run { target s390*-*-* } } */
6 /* { dg-options "-O2 -fno-omit-frame-pointer -gstabs" } */
7
8 int main (void)
9 {
10   static char buf[4096];
11   char *p;
12
13   do
14     {
15       p = buf;
16       asm volatile ("" : : : "memory", "0", "1", "2", "3", "4", "5", "6",
17                                        "7", "8", "9", "10", "12");
18     }
19   while (*p);
20
21   return 0;
22 }
23