[Bug middle-end/42577] [4.4/4.5 Regression] array bounds false positive with -O3, goes away with -O2

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 2 19:15:00 GMT 2010



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-01-02 19:15 -------
Subject: Bug 42577

Author: rguenth
Date: Sat Jan  2 19:14:52 2010
New Revision: 155577

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155577
Log:
2010-01-02  Richard Guenther  <rguenther@suse.de>

        PR middle-end/42577
        * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
        (simplify_switch_using_ranges): Mark to be removed edges
        as non-executable.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vrp.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42577



More information about the Gcc-bugs mailing list