aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@cs.tamu.edu>2005-06-09 17:41:37 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2005-06-09 17:41:37 +0000
commit8562f05c95361a5a232e19ca6871c9cf6dcc4749 (patch)
treeb3762385888427b63671b9ef7c72ac900943b344 /gcc/rtl.h
parentc8d3810f9388b4670b8a5c2d3d82f293c5a6fde7 (diff)
downloadgcc-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 69091ab..bbd1c62 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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 {