Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030808-1.c
blob456f6f2712871627971c0845e0db4d59abfc5ab2
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-cddce3" } */
4 extern void abort (void);
6 struct rtx_def;
7 typedef struct rtx_def *rtx;
8 enum rtx_code
10 UNKNOWN,
11 CODE_LABEL,
12 NOTE,
13 LAST_AND_UNUSED_RTX_CODE = 256
15 typedef union rtunion_def rtunion;
16 struct rtx_def
18 enum rtx_code code:16;
20 void
21 delete_dead_jumptables ()
23 rtx insn, next;
24 if (insn->code == CODE_LABEL)
26 rtx const _rtx = insn;
27 if (_rtx->code != CODE_LABEL && _rtx->code != NOTE)
28 abort ();
33 /* There should be no loads of ->code. If any exist, then we failed to
34 optimize away all the IF statements and the statements feeding
35 their conditions. */
36 /* { dg-final { scan-tree-dump-times "->code" 0 "cddce3"} } */
38 /* There should be no IF statements. */
39 /* { dg-final { scan-tree-dump-times "if " 0 "cddce3"} } */