From b2a9b24f7e68ead21a42df63a8cdf210e107a8fc Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 19 Mar 2004 19:10:51 +0000 Subject: 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@ --- gnu/egcs/gcc/config/m88k/m88k.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/egcs/gcc') 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 ***/ -- cgit v1.2.3