shebs 02/08/11 20:12:34
Modified: gcc c-common.c
Log:
Add an additional copy of a hack to __GXX_WEAK__, makes
C++ testing much happier.
Revision Changes Path
1.70 +4 -0 gcc3/gcc/c-common.c
Index: c-common.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/c-common.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- c-common.c 2002/08/08 03:19:49 1.69
+++ c-common.c 2002/08/12 03:12:33 1.70
@@ -5022,6 +5022,10 @@
if (c_language == clk_cplusplus)
{
+/* APPLE LOCAL coalescing -- remove, as SUPPORTS is a -fcoalesce flag! */
+#undef SUPPORTS_ONE_ONLY
+#define SUPPORTS_ONE_ONLY 0
+/* APPLE LOCAL end coalescing */
if (SUPPORTS_ONE_ONLY)
cpp_define (pfile, "__GXX_WEAK__=1");
else