aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-04-16 13:23:02 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-04-16 13:23:02 -0700
commitd636c18c54181f8bf09f5c75bb9b517bba3efb69 (patch)
tree0c8960d985cd1713ea423065ffaec250373cc48f /gcc/rtl.c
parentaa95639ea8e35220e659f6531ffd11990845373d (diff)
downloadgcc-d636c18c54181f8bf09f5c75bb9b517bba3efb69.zip
gcc-d636c18c54181f8bf09f5c75bb9b517bba3efb69.tar.gz
gcc-d636c18c54181f8bf09f5c75bb9b517bba3efb69.tar.bz2
rtl.h (enum insn_note): New enumeration.
* rtl.h (enum insn_note): New enumeration. Subsume NOTE_INSN_DELETED and friends. (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS. * rtl.c (note_insn_name): Tweek string order. From-SVN: r33187
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index bfe3806..8adbd52 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -235,13 +235,13 @@ const char rtx_class[] = {
/* Names for kinds of NOTEs and REG_NOTEs. */
-const char * const note_insn_name[] =
+const char * const note_insn_name[NOTE_INSN_MAX - NOTE_INSN_BIAS] =
{
- 0, "NOTE_INSN_DELETED",
+ "", "NOTE_INSN_DELETED",
"NOTE_INSN_BLOCK_BEG", "NOTE_INSN_BLOCK_END",
"NOTE_INSN_LOOP_BEG", "NOTE_INSN_LOOP_END",
- "NOTE_INSN_FUNCTION_END", "NOTE_INSN_SETJMP",
"NOTE_INSN_LOOP_CONT", "NOTE_INSN_LOOP_VTOP",
+ "NOTE_INSN_FUNCTION_END", "NOTE_INSN_SETJMP",
"NOTE_INSN_PROLOGUE_END", "NOTE_INSN_EPILOGUE_BEG",
"NOTE_INSN_DELETED_LABEL", "NOTE_INSN_FUNCTION_BEG",
"NOTE_INSN_EH_REGION_BEG", "NOTE_INSN_EH_REGION_END",