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]

Patch to revert varasm.c change, fix PRs 10100 & 10053


It's been three weeks since this patch:
http://gcc.gnu.org/ml/gcc-patches/2003-03/msg00720.html

broke bootstrap on mainline for mips-irix6 and alpha-osf4, and
possibly elsewhere.  (See PRs 10100 & 10053.)  Ok to revert?

		Thanks,
		--Kaveh


2003-03-29  Kaveh R. Ghazi  <ghazi at caip dot rutgers dot edu>

	* varasm.c (make_decl_one_only): Revert patch from 2003-03-09.

diff -rup orig/egcc-CVS20030328/gcc/varasm.c egcc-CVS20030328/gcc/varasm.c
--- orig/egcc-CVS20030328/gcc/varasm.c	2003-03-16 01:04:02.000000000 -0500
+++ egcc-CVS20030328/gcc/varasm.c	2003-03-29 16:29:30.791807291 -0500
@@ -4689,7 +4689,7 @@ make_decl_one_only (decl)
       DECL_ONE_ONLY (decl) = 1;
     }
   else if (SUPPORTS_WEAK)
-    declare_weak (decl);
+    DECL_WEAK (decl) = 1;
   else
     abort ();
 }


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