[Bug 143] New: ICE, segfaults, apparently the compiler doesn't like the "%s" string when reporting error
via D.gnu
d.gnu at puremagic.com
Sun Jul 20 12:23:26 PDT 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=143
Bug ID: 143
Summary: ICE, segfaults, apparently the compiler doesn't like
the "%s" string when reporting error
Product: GDC
Version: 4.9.x
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
Assignee: ibuclaw at gdcproject.org
Reporter: art.08.09 at gmail.com
template f(A) {}
void g(A)(A);
f!({g("%s");}) _;
causes:
cc1d: internal compiler error: Segmentation fault
0xa81fef crash_signal
../../gcc/toplev.c:337
0x6e53eb verror(Loc, char const*, __va_list_tag*, char const*, char const*,
char const*)
../../gcc/d/d-glue.cc:191
0x5b094d Dsymbol::error(char const*, ...)
../../gcc/d/dfrontend/dsymbol.c:633
0x68e723 TemplateInstance::findBestMatch(Scope*, Array<Expression*>*)
../../gcc/d/dfrontend/template.c:6377
0x692cf8 TemplateInstance::semantic(Scope*, Array<Expression*>*)
../../gcc/d/dfrontend/template.c:5317
0x692cf8 TemplateInstance::semantic(Scope*)
../../gcc/d/dfrontend/template.c:5202
0x6404fa TypeInstance::resolve(Loc, Scope*, Expression**, Type**, Dsymbol**,
bool)
../../gcc/d/dfrontend/mtype.c:7284
0x6404fa TypeInstance::semantic(Loc, Scope*)
../../gcc/d/dfrontend/mtype.c:7301
0x5a27c9 VarDeclaration::semantic(Scope*)
../../gcc/d/dfrontend/declaration.c:884
0x649fbd Module::semantic()
../../gcc/d/dfrontend/module.c:744
0x69d293 d_parse_file()
../../gcc/d/d-lang.cc:1007
Please submit a full bug report,
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140720/2f7f5beb/attachment-0001.html>
More information about the D.gnu
mailing list