This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]