re PR c++/14639 ([non-unit-at-a-time] Incorrect emission of unused compiler-generated destructor)
2004-06-03 Andrew Pinski <pinskia@physics.uc.edu> Jan Hubicka <jh@suse.cz> PR c++/14639 * method.c (use_think): Do not mark thunk as referenced. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r82612
This commit is contained in:
parent
3d98fa1402
commit
f9d1895555
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-06-03 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR c++/14639
|
||||
* method.c (use_think): Do not mark thunk as referenced.
|
||||
|
||||
2004-06-03 Matt Austern <austern@apple.com>
|
||||
|
||||
PR c++/15428
|
||||
|
|
|
@ -353,7 +353,6 @@ use_thunk (tree thunk_fndecl, bool emit_p)
|
|||
this translation unit. */
|
||||
TREE_ADDRESSABLE (function) = 1;
|
||||
mark_used (function);
|
||||
mark_decl_referenced (function);
|
||||
if (!emit_p)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue