|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.bugs - [Issue 3046] New: Segfault with C++ static variable
http://d.puremagic.com/issues/show_bug.cgi?id=3046 Summary: Segfault with C++ static variable Product: D Version: 2.030 Platform: x86 OS/Version: Linux Status: NEW Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: rsinfu gmail.com The compiler segfaults compiling this invalid code: -------------------- class C { extern(C++): static int var; // C++ variable should be error } -------------------- The segfault happend in cpp_mangle_name() (cppmangle.c): -------------------- FuncDeclaration *fd = s->isFuncDeclaration(); if (fd->isConst()) <-- HERE buf->writeByte('K'); -------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- Jun 02 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3046 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.au --- Comment #1 from Don <clugdbug yahoo.com.au> 2009-06-02 17:24:03 PDT --- I can't reproduce this. It works for me on Windows. Is it Linux only, or is something missing from the test case? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- Jun 02 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3046 --- Comment #2 from Shin Fujishiro <rsinfu gmail.com> 2009-06-02 17:39:07 PDT --- (In reply to comment #1)I can't reproduce this. It works for me on Windows. Is it Linux only, or is something missing from the test case? Jun 02 2009
|