[Bug 174] New: segfault with class member template function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 3 20:50:57 PDT 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=174
Summary: segfault with class member template function
Product: GDC
Version: 0.18
Platform: Macintosh
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: glue layer
AssignedTo: braddr at puremagic.com
ReportedBy: csantander619 at gmail.com
Under Linux PPC, given these two files:
//----------------------------
module foo;
class Foo
{
template xyz (T)
{
T xyz (uint i)
{
}
}
}
//----------------------------
module bar;
import foo;
void baz ()
{
Foo f;
f.xyz!(char []) (0);
}
//----------------------------
$ gdmd bar.d -g -c
foo.d: En la función ‘xyz’:
foo.d:9: error interno del compilador: Violación de segmento
Por favor envíe un reporte completo de bichos,
con el código preprocesado si es apropiado.
Vea <URL:http://gcc.gnu.org/bugs.html> para más instrucciones.
--
More information about the D.gnu
mailing list