[Issue 2962] Assertion in glue.c fails
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 13 18:52:24 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2962
Sergey Gromov <snake.scaly at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
CC| |snake.scaly at gmail.com
Version|2.029 |1.030
OS/Version|Linux |All
--- Comment #4 from Sergey Gromov <snake.scaly at gmail.com> 2009-08-13 18:52:22 PDT ---
Here is a simpler test case for what I think is the same issue:
-----8<----testa.d-----
import testb;
int foo()
{
return bar(0);
}
-----8<----testa.d-----
-----8<----testb.d-----
T bar(T)(T x)
{
return baz!(T, x)();
}
T baz(T, T x)()
{
return x;
}
-----8<----testb.d-----
Compile order matters:
> dmd -c testb.d testa.d
Assertion failure: '!v->csym' on line 563 in file 'glue.c'
abnormal program termination
> dmd -c testa.d testb.d
>
Tested this with DMD 1.030, 1.033, 1.041, 1.042, 1.046, 2.026, 2.027 and 2.031,
with exactly the same results.
--
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