summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-16 20:23:02 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-16 20:23:02 +0000
commit0c981e424c65a186650a3a0d2a0ab6f478be1535 (patch)
tree0c8960d985cd1713ea423065ffaec250373cc48f /gcc/rtl.c
parent4d0c2f0b044a53f8bd2b8e3bb40ed63c0bb5dd83 (diff)
downloadgcc-0c981e424c65a186650a3a0d2a0ab6f478be1535.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33187 138bc75d-0d04-0410-961f-82ee72b054a4
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 bfe3806c06d..8adbd52d8b8 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",