aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2004-07-21 01:35:01 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-07-20 18:35:01 -0700
commite70d4dfb0f413194e0a5c3cdd212a80d9135fb77 (patch)
treec18f613234c478d602b1933abe0d4a332a00b971
parent462fdcce48d055b51f7ca5835c4dd43a94ecf767 (diff)
downloadgcc-e70d4dfb0f413194e0a5c3cdd212a80d9135fb77.zip
gcc-e70d4dfb0f413194e0a5c3cdd212a80d9135fb77.tar.gz
gcc-e70d4dfb0f413194e0a5c3cdd212a80d9135fb77.tar.bz2
re PR target/16557 (bootstrap failure of gcc-4.0-20040711 snapshot on i686-apple-darwin7.2.1)
2004-07-20 Andrew Pinski <apinski@apple.com> PR target/16557 * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ... (ASM_SPEC): here. From-SVN: r84991
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/darwin.h8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f581fcd..f4c2022 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-20 Andrew Pinski <apinski@apple.com>
+
+ PR target/16557
+ * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ...
+ (ASM_SPEC): here.
+
2004-07-21 Paul brook <paul@codesourcery.com>
* config/arm/arm.c (thumb_expand_prologue): Remove bogus GEN_INT.
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index b0e2f01..030f866 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -39,13 +39,13 @@ Boston, MA 02111-1307, USA. */
the kernel or some such. */
#undef CC1_SPEC
-#define CC1_SPEC "%{!static:-fPIC}"
+#define CC1_SPEC "%{!static:-fPIC}\
+ %{gused: -g -feliminate-unused-debug-symbols %<gused }\
+ %{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
+ %{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}"
#define ASM_SPEC "-arch i686 \
-force_cpusubtype_ALL \
- %{gused: -g -feliminate-unused-debug-symbols %<gused }\
- %{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
- %{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}\
%{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
%{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\
%{msse:-force_cpusubtype_ALL}\