[Issue 4543] Regression(1.054, 2.038) typedef circular definition and segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 24 23:55:56 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4543
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|D1 |D1 & D2
Summary|typedef circular definition |Regression(1.054, 2.038)
|and ICE |typedef circular definition
| |and segfault
--- Comment #5 from Don <clugdbug at yahoo.com.au> 2010-08-24 23:55:47 PDT ---
Both of the unions in the test case can be replaced with structs without
changing the behaviour.
The union inside circular_definition must be anonymous. If it is given a name,
compilation succeeds.
Also, if union any {} is changed into: alias int any; then it segfaults on
2.038.
So the fact that it started segfaulting on the union case is probably not
important.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list