------- 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

Reply via email to