This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to revert varasm.c change, fix PRs 10100 & 10053
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Franz dot Sirl-kernel at lauterbach dot com
- Date: Sun, 30 Mar 2003 01:08:33 -0500 (EST)
- Subject: 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 ();
}