Debian Codegraph @

gcc/testsuite/gcc.dg/pr21137.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 /* { dg-require-effective-target int32plus } */
4
5 void foo();
6
7 void test5_1(int e)
8 {
9 if ((e >> 31) & 64)
10 foo();
11 }
12
13 typedef int myint;
14
15 void test5_2(myint e)
16 {
17 if ((e >> 31) & 64)
18 foo();
19 }
20
21 /* { dg-final { scan-tree-dump-times " < 0" 2 "optimized" } } */