<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 - Compiler fails when compare two wrapped SIMD vectors (give up with internal error)"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=213">213</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Compiler fails when compare two wrapped SIMD vectors (give up with internal error)
</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>iaktakh@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Compiler fails with internal error when compare two wrapped into struct SIMD
vectors
No crash with ordinal types like (int) or B{int i;}
Note: simd vectors doesn't provide opEquals, you should use v1.array ==
v2.array
Code:
import core.simd;
struct S
{
int4 vec;
}
void main()
{
S s, b;
assert(s == b);
}
dub test --compiler=gdc
gdc-catch-bug ~master: building configuration "application"...
source/app.d: In function 'D main':
source/app.d:7:6: internal compiler error: in prepare_cmp_insn, at
optabs.c:4234
void main()
^
gdc --version
gdc (GCC) 5.3.0
OS: ArchLinux, x86_64</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>