[Bug tree-optimization/66952] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 22 11:32:00 GMT 2015


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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jul 22 11:31:50 2015
New Revision: 226062

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

        PR tree-optimization/66952
        * tree-ssa-ifcombine.c (pass_tree_ifcombine::execute): For
        blocks we end up executing unconditionally reset all SSA
        info such as range and alignment.
        * tree-ssanames.h (reset_flow_sensitive_info): Declare.
        * tree-ssanames.c (reset_flow_sensitive_info): New function.

        * gcc.dg/torture/pr66952.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr66952.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ifcombine.c
    trunk/gcc/tree-ssanames.c
    trunk/gcc/tree-ssanames.h



More information about the Gcc-bugs mailing list