PATCH to rs6000.md, comments?
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Wed Jul 15 11:13:00 GMT 1998
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))
More information about the Gcc-bugs
mailing list