[Issue 17215] ICE(cgcod.c:findreg) with SIMD and -O -inline

2017-02-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17215

--- Comment #4 from Martin Nowak  ---
Digger points to https://github.com/dlang/dmd/pull/6176 for having introduced
this.

--


[Issue 17215] ICE(cgcod.c:findreg) with SIMD and -O -inline

2017-02-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17215

--- Comment #3 from Martin Nowak  ---
cat > bug.d << CODE
alias vec = __vector(int[4]);

vec binop(vec a)
{
vec b = a;
return b;
}
CODE
dmd -c -O bug

Internal error: backend/cgcod.c 1659


Further reduced, no longer requires -inline.

--


[Issue 17215] ICE(cgcod.c:findreg) with SIMD and -O -inline

2017-02-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17215

Martin Nowak  changed:

   What|Removed |Added

   Hardware|All |x86_64
 OS|All |Linux

--- Comment #2 from Martin Nowak  ---
Ah yes calling convention, it's definitely failing on linux x86_64.
https://dpaste.dzfl.pl/449dd3669728

--


[Issue 17215] ICE(cgcod.c:findreg) with SIMD and -O -inline

2017-02-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17215

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #1 from Walter Bright  ---
This is working for me on Windows 64. It's listed as "All" platforms. Which is
it failing on?

--