summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-04 08:20:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-04 08:20:40 +0000
commit64461b9d1dfce0d6d15906d2def7cf58432bd250 (patch)
tree539f296b3ecb8478c83afce4d0006698fc86f08c /gnu
parent06a0cbcd518bd04bc20e3b948f8b0277ae2f7840 (diff)
i386 requires -fno-strength-reduce because -O2 generates incorrect code
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/config/i386/openbsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/config/i386/openbsd.h b/gnu/usr.bin/gcc/config/i386/openbsd.h
index 71efeffafd6..7c8f51256a4 100644
--- a/gnu/usr.bin/gcc/config/i386/openbsd.h
+++ b/gnu/usr.bin/gcc/config/i386/openbsd.h
@@ -31,13 +31,16 @@
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
-/* $OpenBSD: openbsd.h,v 1.2 1996/04/29 07:09:47 niklas Exp $ */
+/* $OpenBSD: openbsd.h,v 1.3 1996/05/04 08:20:39 deraadt Exp $ */
/* There are conflicting reports about whether this system uses
a different assembler syntax. wilson@cygnus.com says # is right. */
#undef COMMENT_BEGIN
#define COMMENT_BEGIN "#"
+#undef CC1_SPEC
+#define CC1_SPEC "-fno-strength-reduce"
+
#undef ASM_APP_ON
#define ASM_APP_ON "#APP\n"