diff options
author | Gabriel Dos Reis <gdr@cs.tamu.edu> | 2005-06-09 17:41:37 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2005-06-09 17:41:37 +0000 |
commit | 8562f05c95361a5a232e19ca6871c9cf6dcc4749 (patch) | |
tree | b3762385888427b63671b9ef7c72ac900943b344 /gcc/rtl.h | |
parent | c8d3810f9388b4670b8a5c2d3d82f293c5a6fde7 (diff) | |
download | gcc-8562f05c95361a5a232e19ca6871c9cf6dcc4749.zip gcc-8562f05c95361a5a232e19ca6871c9cf6dcc4749.tar.gz gcc-8562f05c95361a5a232e19ca6871c9cf6dcc4749.tar.bz2 |
machmode.h (to_machine_mode): New.
* machmode.h (to_machine_mode): New.
* rtl.h (to_rtx_code): Likewise.
* read-rtl.c (apply_mode_macro): Convert mode to machine_mode.
(print_c_condition): Convert return value of htab_find().
(apply_code_macro): Add explicit cast when convertin to enums.
(apply_mode_maps): Likewise.
(check_code_macro): Likewise.
(read_rtx_1): Likewise.
From-SVN: r100804
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ enum rtx_code { #define NUM_RTX_CODE ((int) LAST_AND_UNUSED_RTX_CODE) /* The cast here, saves many elsewhere. */ +#define to_rtx_code(CODE) ((enum rtx_code) (CODE)) + /* Register Transfer Language EXPRESSIONS CODE CLASSES */ enum rtx_class { |