Avoid expicit builtion list in tree-ssa-dce
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / pr96650-2-trans.c
blob8d0c295087656c1d9d5dfa65587db74989ad1f55
1 /* { dg-additional-options "-fanalyzer-transitivity" } */
3 #include "analyzer-decls.h"
5 int foo (void);
7 /* Infeasible path, requiring transitivity to find. */
9 void test_1 (int co, int y)
11 if (4 < co)
12 if (co < y)
13 if (y == 0)
14 __analyzer_dump_path (); /* { dg-bogus "path" } */
17 /* Infeasible path, requiring transitivity to find, with a merger. */
19 void test_2 (int co, int y, int z)
21 if (4 < co)
22 if (co < y)
23 if (y == 0)
25 while (foo ())
28 __analyzer_dump_path (); /* { dg-bogus "path" } */