mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0.
authorAlexandre Oliva <aoliva@cygnus.com>
Fri, 21 Apr 2000 21:34:19 +0000 (21:34 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 21 Apr 2000 21:34:19 +0000 (21:34 +0000)
* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
of explicit 0.

From-SVN: r33327

gcc/ChangeLog
gcc/config/mn10300/mn10300.h

index 140d2a6..c05e140 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
+       of explicit 0.
+
 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
 
        * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
index 9369e7c..dbf5191 100644 (file)
@@ -274,8 +274,9 @@ enum reg_class {
 #define REGNO_REG_CLASS(REGNO) \
   ((REGNO) < 4 ? DATA_REGS : \
    (REGNO) < 9 ? ADDRESS_REGS : \
-    (REGNO) == 9 ? SP_REGS : \
-     (REGNO) < 18 ? EXTENDED_REGS : 0)
+   (REGNO) == 9 ? SP_REGS : \
+   (REGNO) < 18 ? EXTENDED_REGS : \
+   NO_REGS)
 
 /* The class value for index registers, and the one for base regs.  */
 #define INDEX_REG_CLASS DATA_OR_EXTENDED_REGS