digitalmars.D.bugs - [Issue 1197] New: regression: "static if" + enum.max/enum.min causes compile time segfault
- d-bugmail puremagic.com (34/34) Apr 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1197
- d-bugmail puremagic.com (12/12) Apr 03 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1197
- d-bugmail puremagic.com (9/9) Apr 04 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1197
- d-bugmail puremagic.com (7/9) Apr 04 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1197
- d-bugmail puremagic.com (10/10) Sep 18 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1197
- d-bugmail puremagic.com (20/20) Aug 31 2010 http://d.puremagic.com/issues/show_bug.cgi?id=1197
http://d.puremagic.com/issues/show_bug.cgi?id=1197
Summary: regression: "static if" + enum.max/enum.min causes
compile time segfault
Product: D
Version: 1.013
Platform: PC
OS/Version: All
Status: NEW
Severity: regression
Priority: P3
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: thomas-dloop kuehne.cn
test cases:
http://dstress.kuehne.cn/run/e/enum_43_A.d
http://dstress.kuehne.cn/run/e/enum_43_B.d
http://dstress.kuehne.cn/run/e/enum_43_G.d
http://dstress.kuehne.cn/run/e/enum_43_H.d
--
Apr 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1197
clugdbug yahoo.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |
Summary|regression: "static if" + |regression: "static if" +
|enum.max/enum.min causes |enum.max/enum.min doesn't
|compile time segfault |compile
No longer segfaults on DMD1.042 and 2.027 -- now generates a "forward
reference" error message. This is still a regression.
--
Apr 03 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1197
smjg iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg iname.com
Keywords| |rejects-valid
Then don't just delete the keyword - assign the correct one!
--
Apr 04 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1197Then don't just delete the keyword - assign the correct one!I thought of doing that, but 'regression' normally applies to valid code. Regression of invalid code is a hundred times less serious. So I added the 'regression' to the description, rather than the severity. --
Apr 04 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1197
Rainer Schuetze <r.sagitario gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r.sagitario gmx.de
PDT ---
Works for DMD 2.032 here, but not for DMD 1.047
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 18 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1197
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|regression(D1 only): |"static if" +
|"static if" + |enum.max/enum.min doesn't
|enum.max/enum.min doesn't |compile (D1 only)
|compile |
Severity|regression |normal
The fact that it doesn't work on D1 isn't actually a regression. The regression
was fixed in 1.021-1.023.
It never actually worked on D1. Here's the full behaviour:
Segfault on 0.140, forward reference error 0.150-1.010, segfault 1.013-1.020,
forward reference error 1.023-present.
Segfault 2.000, forward reference 2.012-2.030, works 2.031- present.
Downgrading to normal.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 31 2010









d-bugmail puremagic.com 