This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/29788] [4.1/4.2/4.3 Regression] ICE in var_ann, at tree-flow-inline.h:130



------- Comment #11 from pinskia at gcc dot gnu dot org  2006-11-12 02:30 -------
Here is the fix:
Index: tree-inline.c
===================================================================
--- tree-inline.c       (revision 118717)
+++ tree-inline.c       (working copy)
@@ -612,6 +612,8 @@ copy_body_r (tree *tp, int *walk_subtree
                      TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old);
                    }
                }
+             else
+               *tp = fold (*tp);
              *walk_subtrees = 0;
              return NULL;
            }


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|26994                       |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]