[patch] h8300.h: A minor update.

Kazu Hirata kazu@cs.umass.edu
Mon Oct 21 06:15:00 GMT 2002


Hi,

Attached is a patch to parenthesize N_REG_CLASSES.

Tested on h8300 port.  Committed.

Kazu Hirata

2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>

	* config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.

Index: h8300.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.h,v
retrieving revision 1.104
diff -u -r1.104 h8300.h
--- h8300.h	24 Sep 2002 12:48:54 -0000	1.104
+++ h8300.h	21 Oct 2002 13:09:12 -0000
@@ -379,7 +379,7 @@
   NO_REGS, GENERAL_REGS, MAC_REGS, ALL_REGS, LIM_REG_CLASSES
 };
 
-#define N_REG_CLASSES (int) LIM_REG_CLASSES
+#define N_REG_CLASSES ((int) LIM_REG_CLASSES)
 
 /* Give names of register classes as strings for dump file.  */
 



More information about the Gcc-patches mailing list