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, score] Remove unused REG_CLASS_FROM_LETTER define


2013-11-27  Chen Liqin  <liqin.gcc@gmail.com>

        * config/score/score.h (REG_CLASS_FROM_LETTER): Delete.


Index: gcc/config/score/score.h
===================================================================
--- gcc/config/score/score.h    (revision 205384)
+++ gcc/config/score/score.h    (working copy)
@@ -395,9 +395,6 @@
 /* The class value for index registers.  */
 #define INDEX_REG_CLASS                NO_REGS

-extern enum reg_class score_char_to_class[256];
-#define REG_CLASS_FROM_LETTER(C)       score_char_to_class[(unsigned char) (C)]
-
 /* Addressing modes, and classification of registers for them.  */
 #define REGNO_MODE_OK_FOR_BASE_P(REGNO, MODE) \
   score_regno_mode_ok_for_base_p (REGNO, 1)

Regards
--liqin


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