From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17708 invoked by alias); 4 Jun 2004 21:04:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17687 invoked by alias); 4 Jun 2004 21:04:31 -0000 Date: Fri, 04 Jun 2004 21:04:00 -0000 Message-ID: <20040604210431.17686.qmail@sourceware.org> From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040318204634.14639.austern@apple.com> References: <20040318204634.14639.austern@apple.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14639] [3.5 Regression] [non-unit-at-a-time] Incorrect emission of unused compiler-generated destructor X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg00516.txt.bz2 List-Id: ------- Additional Comments From hubicka at ucw dot cz 2004-06-04 21:04 ------- Subject: Re: [3.5 Regression] [unit-at-a-time] Incorrect emission of unused compiler-generated destructor at -O2 > > ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-03 23:35 ------- > Here is the patch for 3.5.0 after Zack's patch: > 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:34:11 -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; > > Should I apply this Jan/Mark? This is fine with me, but Mark approved the patch originally only for 3.4 (that is why i didn't applied it to mainline) but perhaps he meant both? :) Honza > > -- > What |Removed |Added > ---------------------------------------------------------------------------- > Keywords| |ABI > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14639 > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14639