Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr88444.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* PR tree-optimization/88444 */ /* { dg-do compile } */ /* { dg-options "-O1 -ftree-vrp -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre" } */ int v; int foo (int, int); static inline int bar (long int x) { return !!x ? x : 1; } static inline void baz (int x) { v += foo (0, 0) + bar (x); } void qux (void) { int a = 0; v = v || foo (0, 0); v = v || foo (0, 0); v = v || foo (0, 0); baz (a); }