Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/usr.bin/gcc3/backend Work around toolchain/22489 (gcc op...
details: https://anonhg.NetBSD.org/src/rev/536252fc5507
branches: trunk
changeset: 558678:536252fc5507
user: uwe <uwe%NetBSD.org@localhost>
date: Sun Feb 22 01:24:25 2004 +0000
description:
Work around toolchain/22489 (gcc optimization/11937) by compiling
function.c with -O0.
diffstat:
gnu/usr.bin/gcc3/backend/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r dda3c54c7ede -r 536252fc5507 gnu/usr.bin/gcc3/backend/Makefile
--- a/gnu/usr.bin/gcc3/backend/Makefile Sun Feb 22 01:05:49 2004 +0000
+++ b/gnu/usr.bin/gcc3/backend/Makefile Sun Feb 22 01:24:25 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/12/07 19:56:59 scw Exp $
+# $NetBSD: Makefile,v 1.14 2004/02/22 01:24:25 uwe Exp $
NOLINKLIB= # defined
NOLINT= # defined
@@ -55,6 +55,12 @@
COPTS.reload1.c= -O1
.endif
+# XXX: toolchain/22489 (gcc optimization/11937)
+.if ${MACHINE_CPU} == "sh3"
+COPTS.function.c= -O0
+.endif
+
+
# Headers that host objects depend on (except gen*rtl*)
HH= ${G_HCONFIG_H} genrtl.h
Home |
Main Index |
Thread Index |
Old Index