Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/20020328-1.c

raw
1 void abort (void);
2 void exit (int);
3
4 int b = 0;
5
6 void func (void) { }
7
8 void
9 testit(int x)
10 {
11 if (x != 20)
12 abort ();
13 }
14
15 int
16 main()
17
18 {
19 int a = 0;
20
21 if (b)
22 func();
23
24 /* simplify_and_const_int would incorrectly omit the mask in
25 the line below. */
26 testit ((a + 23) & 0xfffffffc);
27 exit (0);
28 }