[Bug tree-optimization/60844] [4.9 Regression] ICE in reassoc_stmt_dominates_stmt_p

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 22 13:07:00 GMT 2014


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 22 13:06:55 2014
New Revision: 209624

URL: http://gcc.gnu.org/viewcvs?rev=209624&root=gcc&view=rev
Log:
    Backported from mainline
    2014-04-16  Jakub Jelinek  <jakub@redhat.com>

    PR tree-optimization/60844
    * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
    (propagate_op_to_single_use, remove_visited_stmt_chain,
    linearize_expr, repropagate_negates, reassociate_bb): Use it
    instead of gsi_remove.

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

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr60844.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-ssa-reassoc.c



More information about the Gcc-bugs mailing list