Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20030314-1.c

raw
1 /* PR optimization/8396 */
2 /* Originator: <[email protected]> */
3
4 /* Verify that the tree inliner doesn't mess up the types
5 when passing the value of read-only constant arguments. */
6
7 static inline void bar(const short int xs, const short int xe)
8 {
9 if (xe && (xs < xe))
10 ;
11 }
12
13 void f()
14 {
15 short int xe;
16
17 bar(0, xe);
18 }