From: bonzini Date: Tue, 19 Dec 2006 11:28:35 +0000 (+0000) Subject: 2006-12-19 Paolo Bonzini X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=1a606b87f15a52dbcd6f56d24b84113f741ecc78;hp=39f34cfccfcb073468ab03bf1ad69a63099495ed 2006-12-19 Paolo Bonzini * configure.in: Remove "$build" case for powerpc-*-darwin* since it only affects bootstrap and could be tested on "$host" as well. * configure: Regenerate. * config/mh-ppc-darwin: Add to the stage1 cflags here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120049 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/ChangeLog b/ChangeLog index cb17edc226c..ab20b13687b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2006-12-19 Paolo Bonzini + * configure.in: Remove "$build" case for powerpc-*-darwin* since + it only affects bootstrap and could be tested on "$host" as well. + * configure: Regenerate. + * config/mh-ppc-darwin: Add to the stage1 cflags here. + +2006-12-19 Paolo Bonzini + PR bootstrap/29544 * Makefile.def (flags_to_pass): Add STAGE1_CHECKING. (bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags, diff --git a/config/mh-ppc-darwin b/config/mh-ppc-darwin index 44fd620b66e..231415e5401 100644 --- a/config/mh-ppc-darwin +++ b/config/mh-ppc-darwin @@ -4,3 +4,8 @@ BOOT_CFLAGS=-g -O2 -mdynamic-no-pic +# The spiffy cpp-precomp chokes on some legitimate constructs in GCC +# sources; use -no-cpp-precomp to get to GNU cpp. +# Apple's GCC has bugs in designated initializer handling, so disable +# that too. +STAGE1_CFLAGS += -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 diff --git a/configure b/configure index 37850ced64f..3f69c1d050b 100755 --- a/configure +++ b/configure @@ -7299,13 +7299,6 @@ case $build in yes) stage1_cflags="-g -Wa,-J" ;; *) stage1_cflags="-g -J" ;; esac ;; - powerpc-*-darwin*) - # The spiffy cpp-precomp chokes on some legitimate constructs in GCC - # sources; use -no-cpp-precomp to get to GNU cpp. - # Apple's GCC has bugs in designated initializer handling, so disable - # that too. - stage1_cflags="-g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0" - ;; esac # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems. @@ -7315,16 +7308,16 @@ if test "$GCC" = yes; then # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it. CFLAGS="$CFLAGS -fkeep-inline-functions" echo $ac_n "checking whether -fkeep-inline-functions is supported""... $ac_c" 1>&6 -echo "configure:7319: checking whether -fkeep-inline-functions is supported" >&5 +echo "configure:7312: checking whether -fkeep-inline-functions is supported" >&5 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions" else diff --git a/configure.in b/configure.in index 9400c51dc8e..fb1ef6d92a2 100644 --- a/configure.in +++ b/configure.in @@ -2403,13 +2403,6 @@ case $build in yes) stage1_cflags="-g -Wa,-J" ;; *) stage1_cflags="-g -J" ;; esac ;; - powerpc-*-darwin*) - # The spiffy cpp-precomp chokes on some legitimate constructs in GCC - # sources; use -no-cpp-precomp to get to GNU cpp. - # Apple's GCC has bugs in designated initializer handling, so disable - # that too. - stage1_cflags="-g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0" - ;; esac # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.