Warray-bounds-42.c
595 Bytes
-
PR tree-optimization/89720 - Spurious -Warray-bounds warning on a range with max < min · c46c9745
gcc/ChangeLog: PR tree-optimization/89720 * tree-vrp.c (vrp_prop::check_mem_ref): Treat range with max < min more conservatively, the same as anti-range. gcc/testsuite/ChangeLog: PR tree-optimization/89720 * gcc.dg/Warray-bounds-42.c: New test. From-SVN: r269785
Martin Sebor committed