Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-simplify-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -w -fdump-tree-dom2" } */ extern void frob (void); extern void frob (void); void rhs_to_tree (int x, int z) { if (x >= 4) frob (); if (x >= 3) frob (); } /* The second conditional should change into a simple equality test. */ /* { dg-final { scan-tree-dump-times "if \\(x_\[0-9\]+\\(D\\) == 3\\)" 1 "dom2"} } */