This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] renable lto on darwin9
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mikestump at comcast dot net, iains at gcc dot gnu dot org, jakub at redhat dot com, rguenther at suse dot de, joseph at codesourcery dot com
- Date: Wed, 16 Mar 2011 10:49:08 -0400
- Subject: [PATCH] renable lto on darwin9
The assembler bug in Xcode 3.2.6/4.0 only impacts darwin10, so lto can
be renabled for darwin9 (for which it has been well tested on the regress
server). Re-enabling lto for *-apple-darwin9 on darwin allows us to
continue to monitor the status of darwin lto support while the containerized
lto changes for PR48108 are completed. Okay for gcc trunk and 4.6.0?
Jack
ps While we could in theory enable it for darwin8 as well, that target is
rather poorly tested compared to darwin9.
2011-03-16 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Re-enable LTO on *-apple-darwin9.
* configure: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac (revision 171047)
+++ configure.ac (working copy)
@@ -1743,7 +1743,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms b
build_lto_plugin=yes
],[if test x"$default_enable_lto" = x"yes" ; then
case $target in
- *-cygwin* | *-mingw*) ;;
+ *-apple-darwin9 | *-cygwin* | *-mingw*) ;;
# On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;;
esac