<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 in expand_intrinsic_arith when passing ref bool parameter"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=194">194</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ICE in expand_intrinsic_arith when passing ref bool parameter
</td>
</tr>
<tr>
<th>Product</th>
<td>GDC
</td>
</tr>
<tr>
<th>Version</th>
<td>development
</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>ibuclaw@gdcproject.org
</td>
</tr></table>
<p>
<div>
<pre>Test:
---
module main;
import core.checkedint;
import std.stdio;
// This yields "internal compiler error: in expand_intrinsic_arith", etc.
auto test(ref bool overflow) {
return adds(1, 1, overflow);
}
void main(string[] args)
{
bool overflow = false;
writeln(test(overflow));
writeln(overflow);
stdin.readln();
}
---
Causes:
---
main.d: In function ‘test’:
main.d:8:5: internal compiler error: in expand_intrinsic_arith, at
d/d-codegen.cc:2422
return adds(1, 1, overflow);
^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>