re PR c++/14639 ([non-unit-at-a-time] Incorrect emission of unused compiler-generated...
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 3 Jun 2004 23:45:46 +0000 (23:45 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 3 Jun 2004 23:45:46 +0000 (16:45 -0700)
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

gcc/cp/ChangeLog
gcc/cp/method.c

index 652dc09a09e4e3794d78389f6b8e72f596e7a2c1..75aa42f91a87eacb54740ed7eaa575a7f573aaab 100644 (file)
@@ -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
index 4920c541152b38bc87ca1ec27ee5f2afaeaeb321..01e5313f6de897370da8d970ea70c731423ea940 100644 (file)
@@ -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;