No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / 20030807-3.c
blob8255b581aee8ab4d0376e99bf8ecf70e670d28f5
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
4 typedef unsigned int cppchar_t;
5 cppchar_t
6 cpp_parse_escape (pstr, limit, wide)
7 const unsigned char **pstr;
8 const unsigned char *limit;
9 int wide;
11 cppchar_t i = 0;
12 int overflow = 0;
13 cppchar_t mask = ~0;
15 while (*pstr < limit)
17 overflow |= i ^ (i << 4 >> 4);
18 i = oof ();
20 if (overflow | (i != (i & mask)))
21 foo();
24 /* There should be precisely three IF statements. If there is
25 more than two, then the dominator optimizations failed. */
26 /* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */
27 /* { dg-final { cleanup-tree-dump "dom3" } } */