This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] h8300.h: Use a macro instead of a literal.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 29 Nov 2003 23:31:57 -0500 (EST)
- Subject: [patch] h8300.h: Use a macro instead of a literal.
Hi,
Committed as obvious.
Kazu Hirata
2003-11-29 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG.
Index: h8300.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.h,v
retrieving revision 1.159
diff -u -r1.159 h8300.h
--- h8300.h 30 Nov 2003 02:25:25 -0000 1.159
+++ h8300.h 30 Nov 2003 04:29:13 -0000
@@ -615,7 +615,7 @@
/* On the H8 the return value is in R0/R1. */
#define LIBCALL_VALUE(MODE) \
- gen_rtx_REG (MODE, 0)
+ gen_rtx_REG (MODE, R0_REG)
/* 1 if N is a possible register number for a function value.
On the H8, R0 is the only register thus used. */