digitalmars.D.bugs - [Issue 5633] New: (constfold.c): pointer is null
- d-bugmail puremagic.com (26/26) Feb 21 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5633
- d-bugmail puremagic.com (10/10) Feb 21 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5633
- d-bugmail puremagic.com (12/13) Feb 21 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5633
- d-bugmail puremagic.com (10/10) Jun 16 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5633
- d-bugmail puremagic.com (11/11) Jun 17 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5633
http://d.puremagic.com/issues/show_bug.cgi?id=5633
Summary: (constfold.c): pointer is null
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: bearophile_hugs eml.cc
A problem found by Matthias Pleh:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=24915
struct Foo {}
void main() {
Foo f;
bool b = &f is cast(Foo*)0;
}
DMD 2.052 gives:
Assertion failure: '0' on line 875 in file 'constfold.c'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 21 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5633
Trass3r <mrmocool gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrmocool gmx.de
Isn't this an ICE then?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 21 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5633
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|rejects-valid |ice-on-valid-code
CC| |clugdbug yahoo.com.au
Isn't this an ICE then?
Certainly is!
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 21 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5633
yebblies <yebblies gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies gmail.com
*** Issue 6159 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 16 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5633
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
https://github.com/D-Programming-Language/dmd/commit/878499a6d911c9e7e77ae97db36f73d1fd7e2aff
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 17 2011









d-bugmail puremagic.com 