summaryrefslogtreecommitdiff
path: root/gnu/gcc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-07-27 17:01:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-07-27 17:01:03 +0000
commitb6169c431eb27f5d2f8265a7c7bbb4b3c38511dd (patch)
treece344b05217f12a6c2427d09a3b18e974237801a /gnu/gcc
parentff9d4b524633b5d3fd3ad42445480ad98fab8d15 (diff)
Force disabling the use of delay slots. This is ugly but gets the compiler
to produce 99+% correct code at all optimization levels, and can help people who would like to tinker a bit with the backend. (note m88k ports still use gcc 3 at the moment)
Diffstat (limited to 'gnu/gcc')
-rw-r--r--gnu/gcc/gcc/config/m88k/m88k.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/config/m88k/m88k.c b/gnu/gcc/gcc/config/m88k/m88k.c
index 3edaef46452..b9fa3801895 100644
--- a/gnu/gcc/gcc/config/m88k/m88k.c
+++ b/gnu/gcc/gcc/config/m88k/m88k.c
@@ -2572,6 +2572,10 @@ m88k_override_options (void)
if (align_functions == 0)
align_functions = TARGET_88100 ? 16 : 8;
+#if 1 /* XXX breaks -freorder-blocks and even without it, tree-cfg.c */
+ flag_delayed_branch = 0;
+#endif
+
/* XXX -freorder-blocks (enabled at -O2) does not work with -fdelayed-branch
yet. */
if (flag_delayed_branch)