RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr26622.c
blobaea991ece35c5c78ffae24170f45630d766919c4
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. */
5 unsigned char g;
7 unsigned long long
8 foo (void)
10 return ((long long) ((g & 0x80) != 0)) << 7;