From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18714 invoked by alias); 17 May 2005 17:52:44 -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 18600 invoked by uid 48); 17 May 2005 17:52:29 -0000 Date: Tue, 17 May 2005 17:52:00 -0000 Message-ID: <20050517175229.18599.qmail@sourceware.org> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050517061434.21614.yuri@tsoft.com> References: <20050517061434.21614.yuri@tsoft.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/21614] [4.0 regression] wrong code when calling member function of undefined class X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg02358.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2005-05-17 17:52 ------- Confirmed. Here is a simpler case: ----------------- extern void findme(); struct Z *p; void (Z::*m) (); void rr () { findme(); (p->*m)(); findme(); } ------------------ if one greps for the two calls of 'findme' in the assembler output, there is indeed quite some code when using gcc3.4, but nothing with gcc4.0. That's definitely a regression. W. -- What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2005-05-17 17:23:19 |2005-05-17 17:52:25 date| | Summary|[4.0/4.1 Regression] |[4.0 regression] wrong code |invokation of undefined |when calling member function |class'es method is ignored |of undefined class http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21614