[Bug c++/12218] New: code generated for initializing global variable with pointer-to-member crashes

bryner at brianryner dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 8 22:27:00 GMT 2003


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.



More information about the Gcc-bugs mailing list