Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / 20021029-2.c
blobe99342478c56c7e01f2f49002550a50a8f58935b
1 /* Test whether variables with relocations aren't put into
2 mergeable sections even with -fmerge-all-constants. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -fmerge-all-constants" } */
5 /* { dg-final { scan-assembler-not ".rodata.cst" } } */
7 int foo (int a)
9 static void * const ar[] = { &&l2 };
10 void *p = ar[a];
11 goto *p;
12 l2:
13 return 2;