summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-11 18:48:42 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-11 18:48:42 +0000
commitcef0c6a0d464d388c020942e1d0b2ba7ae46e76e (patch)
tree36b169e5937e71fb76f555ec055b161e29728e84 /gcc/rtl.c
parent03248032feb73992d6e6e09bccbd996ea4174d24 (diff)
downloadgcc-cef0c6a0d464d388c020942e1d0b2ba7ae46e76e.tar.gz
* rtl.h (REG_VTABLE_REF): New.
* rtl.c (reg_note_name): Add it. * combine.c (distribute_notes): Handle it. * final.c (final_scan_insn): Handle it. * tree.def (VTABLE_REF): New. * expr.c (expand_expr): Handle it. * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New. * output.h: Declare them. cp/ * class.c (build_vtable_entry_ref): Create a VTABLE_REF instead of an asm statement. (build_vtbl_ref_1): Split out from build_vtbl_ref. (build_vfn_ref): Use it to handle vtable descriptors before calling build_vtable_entry_ref. * decl2.c (output_vtable_inherit): Use assemble_vtable_inherit. testsuite/ * g++.old-deja/g++.other/crash18.C: Add -S to options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46195 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index bcf300522f4..7a07b7279c0 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -281,7 +281,8 @@ const char * const reg_note_name[] =
"REG_EXEC_COUNT", "REG_NOALIAS", "REG_SAVE_AREA", "REG_BR_PRED",
"REG_FRAME_RELATED_EXPR", "REG_EH_CONTEXT", "REG_EH_REGION",
"REG_SAVE_NOTE", "REG_MAYBE_DEAD", "REG_NORETURN",
- "REG_NON_LOCAL_GOTO", "REG_SETJMP", "REG_ALWAYS_RETURN"
+ "REG_NON_LOCAL_GOTO", "REG_SETJMP", "REG_ALWAYS_RETURN",
+ "REG_VTABLE_REF"
};