[PATCH] Re-enable lto on powerpc-apple-darwin*
Jack Howarth
howarth@bromo.med.uc.edu
Tue Mar 15 02:24:00 GMT 2011
The assembler bug in Xcode 3.2.6/4.0 can't impact powerpc-apple-darwin*
(except in the old-ball case of building the powerpc-apple-darwin* target
under Rosetta on Snow Leopard), lto can be re-enabled for that target in
gcc trunk. Re-enabling lto for powerpc-apple-darwin* in gcc trunk 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?
2011-03-14 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Re-enable LTO on powerpc-apple-darwin*.
* configure: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac (revision 170975)
+++ 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*) ;;
+ powerpc-apple-darwin* | *-cygwin* | *-mingw*) ;;
# On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;;
esac
More information about the Gcc-patches
mailing list