[Issue 8966] New: ICE when passing cfloat argument with indirection
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 6 00:32:45 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8966
Summary: ICE when passing cfloat argument with indirection
Product: D
Version: D2
Platform: All
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: r.sagitario at gmx.de
--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 2012-11-06 00:32:43 PST ---
Trying to compile a Win64 debug version of druntime with current githead, I get
an ICE when compiling druntime/src/rt/typeinfo/ti_Acfloat.d
A reduced test case is
module test;
void foo(cfloat x)
{
}
cfloat[] a;
void main()
{
foo(a[0]);
}
building with "dmd -m64 test.d" yields "Internal error: .\backend\cgcod.c 561"
This does not happen when I compile with -m32 or if I use cdouble or creal or
if I pass a cfloat that is not read from an array. With optimizations, I get
"Internal error: .\backend\cgcod.c 188".
I don't know if this applies to other OS aswell, maybe issue 6772 is related.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list