* [committed] Fix PR c++/14639 emitting unused compiler-generated destructor
@ 2004-06-04 0:02 Andrew Pinski
0 siblings, 0 replies; only message in thread
From: Andrew Pinski @ 2004-06-04 0:02 UTC (permalink / raw)
To: gcc-patches@gcc.gnu.org Patches; +Cc: Jan Hubicka, Andrew Pinski
I committed this after testing on powerpc-apple-darwin and approval
from Mark in the bug report.
Thanks,
Andrew Pinski
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.
Index: method.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/method.c,v
retrieving revision 1.283
diff -u -p -r1.283 method.c
--- method.c 24 May 2004 21:07:42 -0000 1.283
+++ method.c 3 Jun 2004 23:43:05 -0000
@@ -353,7 +353,6 @@ use_thunk (tree thunk_fndecl, bool emit_
this translation unit. */
TREE_ADDRESSABLE (function) = 1;
mark_used (function);
- mark_decl_referenced (function);
if (!emit_p)
return;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-03 23:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-04 0:02 [committed] Fix PR c++/14639 emitting unused compiler-generated destructor Andrew Pinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).