This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix gcc.c-torture/compile/930117-1.c on ia64
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 02:39:09 -0400
- Subject: fix gcc.c-torture/compile/930117-1.c on ia64
Lack of a proper mode eventually results in someone asking
for a subreg of VOIDmode.
r~
* config/ia64/ia64.md (call_gp): Fix memory mode.
Index: config/ia64/ia64.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ia64/ia64.md,v
retrieving revision 1.105
diff -u -p -u -r1.105 ia64.md
--- config/ia64/ia64.md 14 May 2003 17:46:50 -0000 1.105
+++ config/ia64/ia64.md 11 Jun 2003 06:35:04 -0000
@@ -4711,7 +4711,7 @@
[(set_attr "itanium_class" "br,scall")])
(define_insn "call_gp"
- [(call (mem (match_operand 0 "call_operand" "?r,i"))
+ [(call (mem:DI (match_operand 0 "call_operand" "?r,i"))
(const_int 1))
(clobber (match_operand:DI 1 "register_operand" "=b,b"))
(clobber (match_scratch:DI 2 "=&r,X"))