This is the mail archive of the gcc-patches@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]

Re: PATCH: fix bootstrap failure from my earlier patch


On Tuesday, February 18, 2003, at 05:16  PM, Richard Henderson wrote:

On Tue, Feb 18, 2003 at 05:05:16PM -0800, Matt Austern wrote:
+write_global_declarations ()
+{
+  tree globals = (*lang_hooks.decls.getdecls) ();
+
+  /* Really define vars that have had only a tentative definition.
+     Really output inline functions that must actually be callable
+     and have not been output so far.  */
+
+  {
+    int len = list_length (globals);
+    tree *vec = (tree *) xmalloc (sizeof (tree) * len);
+    int i;
+    tree decl;
Please get rid of the silly extra brackets here.
Also please revert Andreas' patch to solve this
by including langhooks-def.h in toplev.c.
Done.  I've verified that both mainline and 3.3 release branch still
bootstrap with the modification you requested, and I've checked this
into both.  (Andreas's patch was in mainline only.)

			--Matt


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