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

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-11-17 
21:39:08 UTC ---
As I said in pr46511, removing the assert fixes the bootstrap and does not seem
to introduce any regression (finishing regtesting):

--- /opt/gcc/_clean/gcc/varpool.c    2010-11-16 19:21:22.000000000 +0100
+++ /opt/gcc/work/gcc/varpool.c    2010-11-17 10:59:15.000000000 +0100
@@ -335,7 +335,7 @@ decide_is_variable_needed (struct varpoo
   if (node->force_output)
     return true;

-  gcc_assert (!DECL_EXTERNAL (decl));
+  /* gcc_assert (!DECL_EXTERNAL (decl)); */

   /* Externally visible variables must be output.  The exception is
      COMDAT variables that must be output only when they are needed.  */

Reply via email to