Warray-bounds-19.c
267 Bytes
-
PR tree-optimization/59124 (bogus -Warray-bounds warning) · d014a712
gcc/ChangeLog: PR tree-optimization/59124 * tree-vrp.c (register_edge_assert_for_2): For NAME != CST1 where NAME = A +- CST2 add the assertion A != (CST1 -+ CST2). gcc/testsuite/ChangeLog: PR tree-optimization/59124 * gcc.dg/Warray-bounds-19.c: New test. From-SVN: r234544
Patrick Palka committed