* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr52533.c
blob82753cd73d64479fc730fef96784e8fe45122e1b
1 /* PR tree-optimization/52533 */
3 int
4 foo (unsigned char x)
6 if (x <= 9)
7 return '0' + x;
8 else if (x <= 15)
9 return 'a' + (x - 10);
10 else
11 return 0;
14 void
15 bar (unsigned char x, unsigned char *y)
17 y[0] = foo ((unsigned char) (x >> 4));
18 y[1] = foo ((unsigned char) (x & 0x0f));