1 /* PR middle-end/26622
2 fold_ternary used to create a tree with mismatching types, causing
3 (const_int 128) to appear in QImode rtx. */
4
5 unsigned char g;
6
7 unsigned long long
foo(void)8 foo (void)
9 {
10 return ((long long) ((g & 0x80) != 0)) << 7;
11 }
12