March 13, 2008 [Issue 1922] New: struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1922 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 1922] struct literal segfaults for structs with nested union/struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1922 baryluk@mpi.int.pl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from baryluk@mpi.int.pl 2008-03-13 13:14 ------- *** This bug has been marked as a duplicate of 1921 *** -- |
Copyright © 1999-2021 by the D Language Foundation