This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/60844] [4.9 Regression] ICE in reassoc_stmt_dominates_stmt_p
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Apr 2014 13:07:27 +0000
- Subject: [Bug tree-optimization/60844] [4.9 Regression] ICE in reassoc_stmt_dominates_stmt_p
- Auto-submitted: auto-generated
- References: <bug-60844-4 at http dot gcc dot gnu dot org/bugzilla/>
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