* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr47140.c
blob2adf53c2026a3e9637dec9d219fbfbca4e14a2dc
1 /* PR tree-optimization/47140 */
3 static inline int
4 foo (int x, short y)
6 return y == 0 ? x : x + y;
9 static inline unsigned short
10 bar (unsigned short x, unsigned char y)
12 return x - y;
15 int w;
17 int baz (void);
19 int
20 test (void)
22 int i;
23 for (i = 0; i < 50; i++)
24 w += foo ((unsigned char) (1 + baz ()) >= bar (0, 1), 0);