<html>
<head>
<base href="http://bugzilla.gdcproject.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - ICE, FuncDeclaration::ctfeCompile(): Assertion `semanticRun == PASSsemantic3done' failed"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=142">142</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ICE, FuncDeclaration::ctfeCompile(): Assertion `semanticRun == PASSsemantic3done' failed
</td>
</tr>
<tr>
<th>Product</th>
<td>GDC
</td>
</tr>
<tr>
<th>Version</th>
<td>4.9.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>gdc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ibuclaw@gdcproject.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>art.08.09@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>import gcc.attribute;
@attribute("noinline") int g()() { return 42; }
void main() {
enum fails = g();
}
fails to compile:
cc1d: ../../gcc/d/dfrontend/interpret.c:672: void
FuncDeclaration::ctfeCompile(): Assertion `semanticRun == PASSsemantic3done'
failed.
/sw/x64/d49-2.065/include/d/4.9.1/gcc/attribute.di:28: internal compiler error:
Aborted
0xa81fef crash_signal
../../gcc/toplev.c:337
0x605137 FuncDeclaration::ctfeCompile()
../../gcc/d/dfrontend/interpret.c:672
0x60589c FuncDeclaration::interpret(InterState*, Array<Expression*>*,
Expression*)
../../gcc/d/dfrontend/interpret.c:796
0x612cf7 FuncDeclaration::interpret(InterState*, Array<Expression*>*,
Expression*)
../../gcc/d/dfrontend/interpret.c:791
0x612cf7 CallExp::interpret(InterState*, CtfeGoal)
../../gcc/d/dfrontend/interpret.c:4955
0x606dd2 Expression::ctfeInterpret()
../../gcc/d/dfrontend/interpret.c:709
0x6a03af build_attributes
../../gcc/d/d-codegen.cc:851
0x6acd9a setup_symbol_storage(Dsymbol*, tree_node*, bool)
../../gcc/d/d-objfile.cc:1747
0x69e9ac FuncDeclaration::toSymbol()
../../gcc/d/d-decls.cc:448
0x6aedef FuncDeclaration::toObjFile(int)
../../gcc/d/d-objfile.cc:1104
0x6abf9e TemplateInstance::toObjFile(int)
../../gcc/d/d-objfile.cc:877
0x6b079e Module::genobjfile(int)
../../gcc/d/d-objfile.cc:1427
0x69d710 d_parse_file()
../../gcc/d/d-lang.cc:1139
Please submit a full bug report,</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>