[Bug tree-optimization/45071] [4.6 Regression] ICE: tree check: expected ssa_name, have integer_cst in inhibit_phi_insertion, at tree-ssa-pre.c:3278 with -ftree-pre -ftree-vectorize
--- Comment #1 from zsojka at seznam dot cz 2010-07-26 06:06 --- Created an attachment (id=21309) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21309&action=view) reduced testcase (from g++.dg/opt/new1.C) Command line: $ gcc -O -ftree-pre -ftree-vectorize pr45071.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45071
[Bug tree-optimization/45071] [4.6 Regression] ICE: tree check: expected ssa_name, have integer_cst in inhibit_phi_insertion, at tree-ssa-pre.c:3278 with -ftree-pre -ftree-vectorize
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-26 10:33 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-07-26 10:33:53 date|| Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45071
[Bug tree-optimization/45071] [4.6 Regression] ICE: tree check: expected ssa_name, have integer_cst in inhibit_phi_insertion, at tree-ssa-pre.c:3278 with -ftree-pre -ftree-vectorize
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-26 12:48 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45071
[Bug tree-optimization/45071] [4.6 Regression] ICE: tree check: expected ssa_name, have integer_cst in inhibit_phi_insertion, at tree-ssa-pre.c:3278 with -ftree-pre -ftree-vectorize
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-26 12:49 --- Subject: Bug 45071 Author: rguenth Date: Mon Jul 26 12:48:37 2010 New Revision: 162534 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162534 Log: 2010-07-26 Richard Guenther PR tree-optimization/45071 * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Always adjust op->opcode. * gcc.dg/pr45071.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr45071.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-sccvn.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45071