Bug 10224 – core.simd ICE cgcv.c line 2162 when compiling with -g

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2013-06-01T02:49:00Z
Last change time
2013-11-30T23:58:53Z
Keywords
pull, symdeb
Assigned to
nobody
Creator
code

Attachments

IDFilenameSummaryContent-TypeSize
1218repro.drepro casetext/x-dsrc308

Comments

Comment #0 by code — 2013-06-01T02:49:50Z
When compiling the attached repro case with dmd -m64 -g repro.d
Comment #1 by code — 2013-06-01T02:50:06Z
Created attachment 1218 repro case
Comment #2 by turkeyman — 2013-06-03T03:48:06Z
Yep, this is definitely annoying. I just hadn't pestered Walter about it yet. Thx for the bug! :P
Comment #3 by code — 2013-06-27T09:25:51Z
*** Issue 10450 has been marked as a duplicate of this issue. ***
Comment #4 by bearophile_hugs — 2013-06-27T13:04:53Z
Also take a look at the test cases in Issue 10450 Another test case: import core.simd: double2; struct Foo { double2 x; this(uint) { x = [0.0, 0.0]; } } void main() { Foo y = Foo(); } dmd gives the same error with -g: Internal error: backend\cgcv.c 2162 ldmd2 gives even without -g: fpext source and destination must both be a vector or neither %tmp1 = fpext double 0x7FFC000000000000 to <2 x double> Broken module found, compilation aborted!
Comment #5 by r.sagitario — 2013-11-30T00:47:11Z
Comment #6 by github-bugzilla — 2013-11-30T07:05:54Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5d0a27eba94f88963f979c247d3e8eb4785b35f5 Merge pull request #2903 from rainers/issue10224 fix Issue 10224: core.simd ICE cgcv.c line 2162 when compiling with -g
Comment #7 by code — 2013-11-30T12:43:24Z
The test case also fails on linux (see bug 11655).
Comment #8 by r.sagitario — 2013-11-30T23:58:53Z
The failure of the test case in comment 4 is not related to generating debug info. It is covered by issue 11655, so I think we can close this one.