This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53426] [4.8 Regression] ICE:create_variable_info_for at ../../gcc-trunk/gcc/tree-ssa-structalias.c:5581
- From: "vincenzo.innocente at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 May 2012 08:03:54 +0000
- Subject: [Bug tree-optimization/53426] [4.8 Regression] ICE:create_variable_info_for at ../../gcc-trunk/gcc/tree-ssa-structalias.c:5581
- Auto-submitted: auto-generated
- References: <bug-53426-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53426
--- Comment #11 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-23 08:03:54 UTC ---
sorry I cannot test the patch on the original failing files as at revision
187789 I get
cat > ipa.patch
--- tree-ssa-structalias.c (revision 187695)
+++ tree-ssa-structalias.c (working copy)
@@ -5583,7 +5583,8 @@ create_variable_info_for (tree decl, con
/* If this is a global variable with an initializer and we are in
IPA mode generate constraints for it. */
- if (DECL_INITIAL (decl))
+ if (DECL_INITIAL (decl)
+ && vnode->analyzed)
{
VEC (ce_s, heap) *rhsc = NULL;
struct constraint_expr lhs, *rhsp;
[vocms123] /build/vin/gcc-trunk $ cd gcc
[vocms123] /build/vin/gcc-trunk/gcc $ patch -p0 < ../ipa.patch
patching file tree-ssa-structalias.c
Hunk #1 FAILED at 5583.
1 out of 1 hunk FAILED -- saving rejects to file tree-ssa-structalias.c.rej