www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 143] New: ICE, segfaults, apparently the compiler doesn't like

Date: Sun, 20 Jul 2014 20:23:26 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"


            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 gdcproject.org
          Reporter: art.08.09 gmail.com

template f(A) {}
void g(A)(A);
f!({g("%s");}) _;


cc1d: internal compiler error: Segmentation fault
0xa81fef crash_signal
0x6e53eb verror(Loc, char const*, __va_list_tag*, char const*, char const*,
char const*)
0x5b094d Dsymbol::error(char const*, ...)
0x68e723 TemplateInstance::findBestMatch(Scope*, Array<Expression*>*)
0x692cf8 TemplateInstance::semantic(Scope*, Array<Expression*>*)
0x692cf8 TemplateInstance::semantic(Scope*)
0x6404fa TypeInstance::resolve(Loc, Scope*, Expression**, Type**, Dsymbol**,
0x6404fa TypeInstance::semantic(Loc, Scope*)
0x5a27c9 VarDeclaration::semantic(Scope*)
0x649fbd Module::semantic()
0x69d293 d_parse_file()
Please submit a full bug report,

You are receiving this mail because:
You are watching all bug changes.
Jul 20 2014