This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12218] [3.4 regression] runtime segfault when initializing global variable with pointer-to-member


------- Additional Comments From bangerth at dealii dot org  2003-12-02 01:30 -------
As to a) -- yes, the code is legal. gcc should simply not put a variable
into read-only memory and still emit initializer code. That's a gcc bug,
not a bug in the code.

W.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12218


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]