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

Reply via email to