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]

PR 138091 [PATCH, committed] Fix breakage in building objective C libraries


This patch was committed on revision 138091.  I did a full bootstrap build of
all languages including Object C/C++, Java, and Ada to test that it fixes the
breakage.

2008-07-23  Michael Meissner  <gnu@the-meissners.org>

	PR 36907
	* opth-gen.awk: Suppress function specific features when building
	target libraries.
	* optc-gen.awk: Ditto.

Index: gcc/optc-gen.awk
===================================================================
--- gcc/optc-gen.awk	(revision 138090)
+++ gcc/optc-gen.awk	(working copy)
@@ -225,7 +225,7 @@ for (i = 0; i < n_opts; i++) {
 print "};"
 
 print "";
-print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2)"
+print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)"
 print "";
 print "/* Save optimization variables into a structure.  */"
 print "void";
Index: gcc/opth-gen.awk
===================================================================
--- gcc/opth-gen.awk	(revision 138090)
+++ gcc/opth-gen.awk	(working copy)
@@ -95,7 +95,7 @@ print ""
 # Also, order the structure so that pointer fields occur first, then int
 # fields, and then char fields to provide the best packing.
 
-print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2)"
+print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)"
 print ""
 print "/* Structure to save/restore optimization and target specific options.  */";
 print "struct cl_optimization GTY(())";

-- 
Michael Meissner
email: gnu@the-meissners.org
http://www.the-meissners.org


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