Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
March 13, 2008 [Issue 1921] New: struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
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. -- |
March 13, 2008 [Issue 1921] struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1921 ------- Comment #1 from baryluk@mpi.int.pl 2008-03-13 13:14 ------- *** Bug 1922 has been marked as a duplicate of this bug. *** -- |
December 16, 2009 [Issue 1921] struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1921 Tomasz Sowiński <tomeksowi@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomeksowi@gmail.com --- Comment #2 from Tomasz Sowiński <tomeksowi@gmail.com> 2009-12-16 14:09:17 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: ------- |
December 17, 2009 [Issue 1921] struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1921 --- Comment #3 from Witold Baryluk <baryluk@smp.if.uj.edu.pl> 2009-12-16 16:39:05 PST --- (In reply to comment #2) > 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: ------- |
August 05, 2010 [Issue 1921] struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1921 Iain Buclaw <ibuclaw@ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-08-05 15:01:47 PDT --- 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: ------- |
August 08, 2010 [Issue 1921] struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1921 --- Comment #5 from Witold Baryluk <baryluk@smp.if.uj.edu.pl> 2010-08-08 09:24:28 PDT --- (In reply to comment #4) > 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: ------- |
Copyright © 1999-2021 by the D Language Foundation