]> gcc.gnu.org Git - gcc.git/commitdiff
(finish_decl): Put RTL and other stuff in permanent_obstack if DECL
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 8 Jul 1994 16:02:05 +0000 (12:02 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 8 Jul 1994 16:02:05 +0000 (12:02 -0400)
is.

From-SVN: r7679

gcc/c-decl.c

index 3dea89aea4a2cafb0524f337cddd71f4462aba2d..0a4b1f1d01e81cdc7219cdcb9c68ccfd53a95f06 100644 (file)
@@ -3592,7 +3592,8 @@ finish_decl (decl, init, asmspec_tree)
 
   if (TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == FUNCTION_DECL)
     {
-      if (flag_traditional && allocation_temporary_p ())
+      if ((flag_traditional || TREE_PERMANENT (decl))
+         && allocation_temporary_p ())
        {
          push_obstacks_nochange ();
          end_temporary_allocation ();
This page took 0.061202 seconds and 5 git commands to generate.