Skip to content
Snippets Groups Projects
Commit aaec0464 authored by Jason Merrill's avatar Jason Merrill
Browse files

rtti.c (emit_tinfo_decl): Call import_export_decl.

        * rtti.c (emit_tinfo_decl): Call import_export_decl.
        * decl2.c (import_export_decl): Set DECL_NOT_REALLY_EXTERN on
        tinfo decls by default.  Don't mess with the builtins.

From-SVN: r53417
parent f63ab951
No related branches found
No related tags found
No related merge requests found
// Test that we don't emit the type_info for a polymorphic class other than
// with the vtable.
struct A {
virtual ~A();
};
void f ()
{
throw A();
}
// { dg-final { scan-assembler-dem-not {typeinfo for A[: \t\n]} } }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment