digitalmars.D.bugs - [Issue 1384] New: Compiler segfaults when using struct variable like a function with no opCall member.
- d-bugmail puremagic.com (30/30) Jul 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1384
- d-bugmail puremagic.com (8/8) Sep 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1384
- d-bugmail puremagic.com (9/9) Sep 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1384
http://d.puremagic.com/issues/show_bug.cgi?id=1384 Summary: Compiler segfaults when using struct variable like a function with no opCall member. Product: D Version: 1.019 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: aziz.kerim gmail.com If you comment out a or b in the union the compiler doesn't segfault anymore and it shows the following error message: Error: structliteral has no effect in expression (Foo(0)) struct Foo { union { int a; int b; } } int bla() { Foo next; next(); // Error: structliteral has no effect in expression (Foo(0)) } --
Jul 28 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1384 dvdfrdmn users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomas famolsen.dk ------- Comment #1 from dvdfrdmn users.sf.net 2007-09-14 00:31 ------- *** Bug 1494 has been marked as a duplicate of this bug. *** --
Sep 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1384 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla digitalmars.com 2007-09-28 22:09 ------- Fixed dmd 1.021 and 2.004 --
Sep 28 2007