From 611010a80cee3438f04812bc6c10183f109214c9 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 29 May 2008 18:08:28 +0000 Subject: Revert 1.6 and reenable -fno-regmove for now -- it stroke back in sha1(1). --- gnu/usr.bin/gcc/gcc/config/sh/sh.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3