[Bug tree-optimization/66422] [5 Regression] -Warray-bounds false positive with -O3

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 22 14:13:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66422

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jun 22 14:12:24 2015
New Revision: 224732

URL: https://gcc.gnu.org/viewcvs?rev=224732&root=gcc&view=rev
Log:
2015-06-22  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2015-06-08  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/66422
        * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Split
        block after inserted gcc_unreachable.

        * gcc.dg/Warray-bounds-16.c: New testcase.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/Warray-bounds-16.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-loop-ivcanon.c



More information about the Gcc-bugs mailing list