This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21614] [4.0 regression] wrong code when calling member function of undefined class
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2005 17:52:29 -0000
- Subject: [Bug c++/21614] [4.0 regression] wrong code when calling member function of undefined class
- References: <20050517061434.21614.yuri@tsoft.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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