modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr26622.c (about)

     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
     8  foo (void)
     9  {
    10    return ((long long) ((g & 0x80) != 0)) << 7;
    11  }