decl2.c (finish_objects): Revert my previous patch.
authorJan Hubicka <jh@suse.cz>
Mon, 4 Apr 2005 15:12:55 +0000 (17:12 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 4 Apr 2005 15:12:55 +0000 (15:12 +0000)
* decl2.c (finish_objects): Revert my previous patch.
(cp_finish_file): Likewise.

From-SVN: r97547

gcc/cp/ChangeLog
gcc/cp/decl2.c

index c2176a7a382d8a8c7d87203d213aabc1bfe72afe..c50d7d2c4cc9d2bcc0f6ebf945eeb7f420d4b835 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-04  Jan Hubicka  <jh@suse.cz>
+
+       * decl2.c (finish_objects): Revert my previous patch.
+       (cp_finish_file): Likewise.
+
 2005-04-03  Kazu Hirata  <kazu@cs.umass.edu>
 
        * pt.c: Fix comment typos.
index 78ba602155a6fb91770762b264a15cf37ab2c29e..16c4efe76a2c70bf64db41b3b85ed251d87843ea 100644 (file)
@@ -2957,14 +2957,6 @@ cp_finish_file (void)
                                         pending_statics_used))
        reconsider = true;
 
-      /* Ask the back end to emit functions and variables that are
-        enqueued.  These emissions may result in marking more entities
-        as needed.  */
-      if (!flag_unit_at_a_time && cgraph_assemble_pending_functions ())
-       reconsider = true;
-      if (!flag_unit_at_a_time && cgraph_varpool_assemble_pending_decls ())
-       reconsider = true;
-
       retries++;
     } 
   while (reconsider);