D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6807 - Internal error: ../ztc/cg87.c 879 during optimization
Summary: Internal error: ../ztc/cg87.c 879 during optimization
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P2 major
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 13:51 UTC by Jonathan Crapuchettes
Modified: 2011-12-16 13:59 UTC (History)
0 users

See Also:


Attachments
Test case file (601 bytes, text/x-dsrc)
2011-10-12 13:51 UTC, Jonathan Crapuchettes
Details

Note You need to log in before you can comment on or make changes to this issue.
Description Jonathan Crapuchettes 2011-10-12 13:51:09 UTC
Created attachment 1039 [details]
Test case file

The attached code will cause DMD 2.054 and 2.055 to have an internal error when
compiled with `dmd test2.d -O`. The internal error happens after the semantic
passes and after, when compiled with -v, dmd reports "function createBase".

Thanks to DustMite for reducing the code from 4k lines.
Comment 1 Jonathan Crapuchettes 2011-12-16 13:59:28 UTC
Appears there was a fix in 2.057.
Thank you!