1 /* Test that tablejump insns are correctly handled. If the compiler
2 loses track of the jump targets, it will report that x and y can be
5 This is broken in egcs 1998/10/06 for mips in pic mode. */
6 /* { dg-do assemble } */
7 /* For MIPS at least, pic is needed to trigger the problem. */
8 /* { dg-options "-w -Wuninitialized -Werror -fpic" } */
9 /* { dg-options "-w -Wuninitialized -Werror" { target rs6000-*-aix* powerpc*-*-aix* arm*-*-* xscale*-*-* strongarm*-*-* fr30-*-* sh-*-hms sh-*-coff h8300*-*-* cris-*-elf* cris-*-aout* mmix-*-* } } */
11 int foo (int a
, int b
)
14 int x
; /* { dg-bogus "warning: `.' might be used uninitialized in this function" } */
15 int y
; /* { dg-bogus "warning: `.' might be used uninitialized in this function" } */
25 case 8: case 10: case 13: case 11: case 17: case 19:
39 case 8: case 10: case 13: case 11: case 17: case 19:
50 int main (int argc
, char *argv
[])
52 return 1 == foo (argc
, argc
+ 1);