summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-03-19 19:10:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-03-19 19:10:51 +0000
commitb2a9b24f7e68ead21a42df63a8cdf210e107a8fc (patch)
tree0866b76b5a37350fedb787e3fa86c4e7ddff9e92 /gnu/egcs
parent0c219a7c0fc7074784d2f669ba30f58edf078a86 (diff)
Disable caller-save (which is enabled at -O2 or -Os) as it suffers from a
few bugs in the 2.95 codebase, one of them being fatal to m88k. A real fix will come after 3.5. ok deraadt@
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/config/m88k/m88k.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/egcs/gcc/config/m88k/m88k.h b/gnu/egcs/gcc/config/m88k/m88k.h
index a8a8a740743..ac5e6e98679 100644
--- a/gnu/egcs/gcc/config/m88k/m88k.h
+++ b/gnu/egcs/gcc/config/m88k/m88k.h
@@ -351,8 +351,10 @@ extern char * reg_names[];
if (flag_pic) \
error ("-mshort-data-%s and PIC are incompatible", m88k_short_data); \
} \
- if (TARGET_OMIT_LEAF_FRAME_POINTER) /* keep nonleaf frame pointers */ \
- flag_omit_frame_pointer = 1; \
+ if (TARGET_OMIT_LEAF_FRAME_POINTER) /* keep nonleaf frame pointers */ \
+ flag_omit_frame_pointer = 1; \
+ \
+ flag_caller_saves = 0; /* not safe on m88k yet */ \
} while (0)
/*** Storage Layout ***/