aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gengenrtl.cc')
-rw-r--r--gcc/gengenrtl.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/gengenrtl.cc b/gcc/gengenrtl.cc
index 8cd9d28..4c1c287 100644
--- a/gcc/gengenrtl.cc
+++ b/gcc/gengenrtl.cc
@@ -136,7 +136,10 @@ always_void_p (int idx)
/* Return nonzero if the RTL code given by index IDX is one that we should
generate a gen_rtx_raw_FOO macro for, not gen_rtx_FOO (because gen_rtx_FOO
- is a wrapper in emit-rtl.cc). */
+ is a wrapper in emit-rtl.cc).
+
+ This list of codes needs to be kept in sync with the switch statement
+ in emit-rtl.cc:rtx_expander::get_rtx. */
static int
special_rtx (int idx)
@@ -156,7 +159,10 @@ special_rtx (int idx)
/* Return nonzero if the RTL code given by index IDX is one that we should
generate no macro for at all (because gen_rtx_FOO is never used or
- cannot have the obvious interface). */
+ cannot have the obvious interface).
+
+ This list of codes needs to be kept in sync with the switch statement
+ in emit-rtl.cc:rtx_expander::get_rtx. */
static int
excluded_rtx (int idx)