This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/77454] [7 Regression] IMM ERROR w/ -O2 and above


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Sep 13 19:19:33 2016
New Revision: 240120

URL: https://gcc.gnu.org/viewcvs?rev=240120&root=gcc&view=rev
Log:
        PR tree-optimization/77454
        * tree-ssa-dom.c (optimize_stmt): Set modified flag on stmt after
        changing GIMPLE_COND.  Move update_stmt_if_modified call after this.
        Formatting fix.

        * gcc.dg/pr77454.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr77454.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-dom.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]