Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/forwprop-36.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile { target int128 } } */ /* { dg-options "-O -fdump-tree-cddce1" } */ typedef unsigned __int128 u128; u128 a, b; static inline u128 foo (u128 p1) { p1 += ~b; return -p1; } int main () { u128 x = foo (~0x7fffffffffffffff); if (x != 0x8000000000000001) __builtin_abort(); return 0; } /* { dg-final { scan-tree-dump "if \\(b.0_\[0-9\]+ != 0\\)" "cddce1" } } */