This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
PATCH to rs6000.md, comments?
- To: egcs-bugs at cygnus dot com, egcs-patches at cygnus dot com
- Subject: PATCH to rs6000.md, comments?
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Wed, 15 Jul 1998 20:13:08 +0200
Hi,
this patch should fix (not tested yet) two warnings in explow.c, because
the prototypes for gen_save_stack_function and gen_restore_stack_function
don't match. The comment in rs6000.md suggests that these two are not
used/needed anyway and thus it should be possible to remove them in
presence of the HAVE_* macros now.
Is this the correct solution?
BTW, what's the status of the CONSTANT_P_RTX mods for the rs6000 backend?
Franz.
Index: rs6000.md
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.22
diff -u -r1.22 rs6000.md
--- rs6000.md 1998/07/02 11:53:24 1.22
+++ rs6000.md 1998/07/15 17:43:18
@@ -7299,16 +7299,6 @@
;; backchain and restore both. Note that in the nonlocal case, the
;; save area is a memory location.
-(define_expand "save_stack_function"
- [(use (const_int 0))]
- ""
- "")
-
-(define_expand "restore_stack_function"
- [(use (const_int 0))]
- ""
- "")
-
(define_expand "restore_stack_block"
[(use (match_operand 0 "register_operand" ""))
(set (match_dup 2) (match_dup 3))