<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - clang-compiled gcc has reproducible internal compiler error"
href="http://llvm.org/bugs/show_bug.cgi?id=19401">19401</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang-compiled gcc has reproducible internal compiler error
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>NetBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tk@giga.or.at
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I'm using clang coming with NetBSD, on NetBSD-6.99.40/amd64, currently:
clang version 3.5 (trunk 202566)
Target: x86_64--netbsd
Thread model: posix
NetBSD also comes with a version of gcc:
gcc (NetBSD nb2 20140304) 4.8.3
When using that clang to compile that version of gcc and then use gcc to
compile software, a reproducible internal compiler error appears that does not
happen when gcc is compiled with gcc.
The original bug report was filed for a compilation problem with gambatte, see
<a href="http://gnats.netbsd.org/48731">http://gnats.netbsd.org/48731</a>
but the same problem also happened with pcre.
This problem was then reported upstream to gcc
<a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60807">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60807</a>
until it was found that this only happens when gcc is compiled with clang.
This looks really hard to debug, but I wanted to report it anyway. Let me know
how to proceed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>