http://d.puremagic.com/issues/show_bug.cgi?id=5455
Summary: Optimization (register allocation?) regression in DMD 1.065 Product: D Version: D1 Platform: x86 OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: thecybersha...@gmail.com CC: thecybersha...@gmail.com --- Comment #0 from Vladimir <thecybersha...@gmail.com> 2011-01-14 18:51:29 PST --- Created an attachment (id=871) Partially minimized test case I've stumbled upon a rather weird regression, which was introduced in DMD 1.065: when compiling specific code with -O -release -inline, it ICEs with "Internal error: ..\ztc\cgcod.c 1649". The test case seems to be quite resistant to "minimization", and even moving functions from one module to another seems to make the bug vanish. I've reduced the test case to four modules, and somewhat minimized the first two, but I'm willing to give up for now at this point. If any compiler developer decides that minimizing the test case is worth it, I'll give it another shot as soon as I get over my cold. As I went to post this, I noticed that I was still using DMD 1.065. However, DMD 1.066 outright crashes. To reproduce, compile the attached files with: dmd -O -release -inline Common.d Data.d Gzip.d Zlib.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------