<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 - GDC crashes when a concrete class only declare a interface method."
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=204">204</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>GDC crashes when a concrete class only declare a interface method.
</td>
</tr>
<tr>
<th>Product</th>
<td>GDC
</td>
</tr>
<tr>
<th>Version</th>
<td>development
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</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>dorian.haglund@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>The following snippet make gdc crash
interface I
{
void f();
}
class C: I
{
void f();
}
int main()
{
return 0;
}
gdc outputs
"tmp/test.d: In member function ‘_DT16_D4test1C1fMFZv’:
/tmp/test.d:1:0: internal compiler error: Segmentation fault
interface I
^
0xab44df crash_signal
../../src/gcc/toplev.c:383
0x88e61a fold_build_pointer_plus_hwi_loc(unsigned int, tree_node*, long)
../../src/gcc/fold-const.c:16283
0x7c669a thunk_adjust
../../src/gcc/cgraphunit.c:1407
0x7c780f cgraph_node::expand_thunk(bool, bool)
../../src/gcc/cgraphunit.c:1665
0x73aad2 finish_thunk(tree_node*, tree_node*, int)
../../src/gcc/d/d-objfile.cc:2151
0x72e10c FuncDeclaration::toThunkSymbol(int)
../../src/gcc/d/d-decls.cc:522
0x738dfb ClassDeclaration::toObjFile(bool)
../../src/gcc/d/d-objfile.cc:460
0x73bfb6 Module::genobjfile(bool)
../../src/gcc/d/d-objfile.cc:1433
0x72d097 d_parse_file()
../../src/gcc/d/d-lang.cc:1183
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
"
Versions:
"gdc --version" outputs "gdc (Debian 5.2.1-23) 5.2.1 20151028"
"head /etc/debian_version" outputs : "stretch/sid"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>