summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-05-29 18:08:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-05-29 18:08:28 +0000
commit611010a80cee3438f04812bc6c10183f109214c9 (patch)
tree83fceebc61ff42d10afef07855529030d64f35e8
parent52101bc72a05d4fc8c0fb2a55e5c5ac3c9d8e130 (diff)
Revert 1.6 and reenable -fno-regmove for now -- it stroke back in sha1(1).
-rw-r--r--gnu/usr.bin/gcc/gcc/config/sh/sh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/sh/sh.c b/gnu/usr.bin/gcc/gcc/config/sh/sh.c
index 3e31d619460..9f138a6970c 100644
--- a/gnu/usr.bin/gcc/gcc/config/sh/sh.c
+++ b/gnu/usr.bin/gcc/gcc/config/sh/sh.c
@@ -8104,6 +8104,9 @@ sh_override_options (void)
#if defined(OPENBSD_NATIVE) || defined(OPENBSD_CROSS)
/* disable stack protection for now */
flag_propolice_protection = 0;
+
+ /* -fregmove is known to produce bad code on SuperH */
+ flag_regmove = 0;
#endif
sh_cpu = CPU_SH1;