Bug 10312 – compiler assert failure with ctfe on simd vector type

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2013-06-08T18:30:00Z
Last change time
2013-12-19T04:24:56Z
Keywords
ice, pull
Assigned to
nobody
Creator
kniteli

Comments

Comment #0 by kniteli — 2013-06-08T18:30:38Z
I get a compiler assert failing when trying to compile the follow minimal case: import core.simd; void main() { auto arr = si; } const float4 si = [1f, 1f, 1f, 1f]; This compiles fine: import core.simd; void main() { auto arr = si; } float4 si = [1f, 1f, 1f, 1f];
Comment #1 by henning — 2013-06-09T09:07:34Z
Comment #2 by henning — 2013-06-22T09:25:09Z
*** Issue 10443 has been marked as a duplicate of this issue. ***
Comment #3 by henning — 2013-06-29T06:40:30Z
*** Issue 10473 has been marked as a duplicate of this issue. ***
Comment #4 by henning — 2013-06-29T06:41:50Z
I still don't know why the auto tester fails on Linux_64_64 only. I will look into that.
Comment #5 by henning — 2013-07-02T19:08:49Z
*** Issue 10518 has been marked as a duplicate of this issue. ***
Comment #6 by ibuclaw — 2013-12-02T03:59:05Z
What's happened to this bug? For the time being, I've raised a new pull to fix the frontend issue. If problems remain with DMD - someone will still need to fix that. https://github.com/D-Programming-Language/dmd/pull/2914
Comment #7 by github-bugzilla — 2013-12-08T21:22:31Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2541b24b92ca0f98fe5165fd58195acf96d201bd Issue 10312 - [CTFE] ICE assigning to const vector decl https://github.com/D-Programming-Language/dmd/commit/a1ee24fa549f18e53d9b507b9e598b012ac1ea1c Merge pull request #2914 from ibuclaw/issue10312 Issue 10312 - [CTFE] ICE assigning to const vector decl
Comment #8 by ibuclaw — 2013-12-09T01:43:20Z
Comment #9 by github-bugzilla — 2013-12-19T04:24:56Z