h8300.h (CONST_COSTS): Remove definition.
authorJeffrey A Law <law@cygnus.com>
Mon, 23 Mar 1998 22:18:55 +0000 (22:18 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 23 Mar 1998 22:18:55 +0000 (15:18 -0700)
        * h8300.h (CONST_COSTS): Remove definition.
        (DEFAULT_RTX_COSTS): Define.

From-SVN: r18782

gcc/ChangeLog
gcc/config/h8300/h8300.h

index e453134d4a7c7acb6ef092270180c782707d5dcf..0de7195bd557f149dd6ea1a55912377e55721e5c 100644 (file)
@@ -1,3 +1,8 @@
+Mon Mar 23 23:18:48 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * h8300.h (CONST_COSTS): Remove definition.
+       (DEFAULT_RTX_COSTS): Define.
+
 Mon Mar 23 22:58:22 1998  Joel Sherrill (joel@OARcorp.com)
 
        * config/sh/rtems.h: Switched from ELF to COFF.
index 6315684577a0e9823ee4a85a0b98953ac98fb308..bbbc9fbc7108f377e3e6cea0321769fa4a536aeb 100644 (file)
@@ -957,9 +957,8 @@ h8300_valid_machine_decl_attribute (DECL, ATTRIBUTES, IDENTIFIER, ARGS)
    of a switch statement.  If the code is computed here,
    return it with a return statement.  Otherwise, break from the switch.  */
 
-#define CONST_COSTS(RTX,CODE,OUTER_CODE) \
-  default: { int _zxy= const_costs(RTX, CODE); \
-            if(_zxy) return _zxy; break;}
+#define DEFAULT_RTX_COSTS(RTX,CODE,OUTER_CODE) \
+  return (const_costs (RTX, CODE));
 
 #define BRANCH_COST 0