Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/ssa-fre-3.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ /* { dg-additional-options "-fdump-tree-fre1" } */ int x; int main() { x = 0; int z = x; int w = 1; for (int i = 0; i < 32; ++i) { if (z) w = 2; else w = 1; if (w == 2) __builtin_abort (); } return w; } /* { dg-final { scan-tree-dump-not "abort" "fre1" } } */