This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12218] New: code generated for initializing global variable with pointer-to-member crashes
- From: "bryner at brianryner dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2003 22:27:15 -0000
- Subject: [Bug c++/12218] New: code generated for initializing global variable with pointer-to-member crashes
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12218
Summary: code generated for initializing global variable with
pointer-to-member crashes
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bryner at brianryner dot com
CC: dbaron at dbaron dot org,gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-gnu-linux
GCC host triplet: i686-gnu-linux
GCC target triplet: i686-gnu-linux
As the summary says... if you initialize a global variable with a
pointer-to-member, the application will crash at startup. GCC CVS trunk pulled
on 9/6/03. Testcase and stack trace coming up.