Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / 20030708-1.c
blob4a9496c2537517fb0714517b2e3f7df47ea45c8a
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
3 extern void abort (void);
4 struct rtx_def;
5 typedef struct rtx_def *rtx;
6 enum rtx_code
8 CALL_INSN,
9 EXPR_LIST,
10 NOTE,
11 LAST = 256
14 struct rtx_def
17 enum rtx_code code:16;
20 int
21 nonlocal_mentioned_p (x)
22 rtx x;
24 if (x->code == CALL_INSN)
26 rtx const _rtx = ((x));
27 if (_rtx->code != CALL_INSN
28 && _rtx->code != NOTE
29 && _rtx->code != EXPR_LIST)
30 abort ();
33 blah (&x);
36 /* There should be no casts to a short unsigned int since the entire
37 set of conditionals should optimize away. */
38 /* { dg-final { scan-tree-dump-times "\\(short unsigned int\\)" 0 "dom3"} } */
40 /* There should be no IF conditionals. */
41 /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
43 /* { dg-final { cleanup-tree-dump "dom3" } } */