D.gnu - [Issue 1921] New: struct literal segfaults for structs with nested union/struct
- d-bugmail puremagic.com (34/34) Mar 13 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1921
- d-bugmail puremagic.com (4/4) Mar 13 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1921
- d-bugmail puremagic.com (10/10) Dec 16 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1921
- d-bugmail puremagic.com (12/13) Dec 16 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1921
- d-bugmail puremagic.com (11/11) Aug 05 2010 http://d.puremagic.com/issues/show_bug.cgi?id=1921
- d-bugmail puremagic.com (8/9) Aug 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=1921
http://d.puremagic.com/issues/show_bug.cgi?id=1921 Summary: struct literal segfaults for structs with nested union/struct Product: DGCC aka GDC Version: 0.24 Platform: PC OS/Version: Linux Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: glue layer AssignedTo: dvdfrdmn users.sf.net ReportedBy: baryluk mpi.int.pl module vec1; struct vec1 { union { struct { float x; } float cell; } vec1 opMul(float c) { return vec1(c*x); // line 12 } } $ gdc -c vec1.d vec1.d: In member function ‘opMul’: vec1.d:12: internal compiler error: Naruszenie ochrony pamięci (Segmentation fault) Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. --
Mar 13 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1921 *** Bug 1922 has been marked as a duplicate of this bug. *** --
Mar 13 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1921 Tomasz Sowiński <tomeksowi gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomeksowi gmail.com PST --- Not sure if related but I also got stung by nested structs in bug 3622. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 16 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1921 16:39:05 PST ---Not sure if related but I also got stung by nested structs in bug 3622.I don't think so. This bug is filled for GDC, D compiler using GCC backend. And in my situation it is the compiler crash, so i don't have even compiled program. In your case it is DMD and runtime crash. My codes (from bug opening, and many more complicated) are working without problem in DMD). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 16 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1921 Iain Buclaw <ibuclaw ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME I cannot reproduce this using gdc 0.25 with gcc-4.1.2 and gcc-4.3.5. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 05 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1921 09:24:28 PDT ---I cannot reproduce this using gdc 0.25 with gcc-4.1.2 and gcc-4.3.5.You are right. Works with gcc version 4.3.5 (Debian 1:1.046-4.3.5-2) Thanks, for update. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 08 2010