decl2.c (maybe_make_one_only): Use mark_referenced.
* decl2.c (maybe_make_one_only): Use mark_referenced. * method.c (use_thunk): Likewsie. From-SVN: r69979
This commit is contained in:
parent
10bbf137cf
commit
9faa149ca3
@ -1,3 +1,8 @@
|
||||
Thu Jul 31 01:07:41 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* decl2.c (maybe_make_one_only): Use mark_referenced.
|
||||
* method.c (use_thunk): Likewsie.
|
||||
|
||||
Wed Jul 30 19:12:48 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* class.c (build_vtable_entry_ref): Kill.
|
||||
|
@ -1517,7 +1517,7 @@ maybe_make_one_only (tree decl)
|
||||
{
|
||||
DECL_COMDAT (decl) = 1;
|
||||
/* Mark it needed so we don't forget to emit it. */
|
||||
TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)) = 1;
|
||||
mark_referenced (DECL_ASSEMBLER_NAME (decl));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -323,7 +323,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
|
||||
this translation unit. */
|
||||
TREE_ADDRESSABLE (function) = 1;
|
||||
mark_used (function);
|
||||
TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (function)) = 1;
|
||||
mark_referenced (DECL_ASSEMBLER_NAME (function));
|
||||
if (!emit_p)
|
||||
return;
|
||||
|
||||
@ -460,7 +460,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
|
||||
|
||||
/* Since we want to emit the thunk, we explicitly mark its name as
|
||||
referenced. */
|
||||
TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (thunk_fndecl)) = 1;
|
||||
mark_referenced (DECL_ASSEMBLER_NAME (thunk_fndecl));
|
||||
|
||||
/* But we don't want debugging information about it. */
|
||||
DECL_IGNORED_P (thunk_fndecl) = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user