<html>
<head>
<base href="https://bugs.llvm.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 - Clang compiler error: invalid subrange count !143 = !DISubrange(count: -36)"
href="https://bugs.llvm.org/show_bug.cgi?id=51310">51310</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang compiler error: invalid subrange count !143 = !DISubrange(count: -36)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dvdicocco@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Here is the entire error message. When compiling volume.c, I was met with this
error. I tried to download the requested files at the end, but the IDE would
not let me do so.
$ make volume
clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare
-Wno-unused-parameter -Wno-unused-variable -Wshadow volume.c -lcrypt -lcs50
-lm -o volume
invalid subrange count
!143 = !DISubrange(count: -36)
fatal error: error in backend: Broken module found, compilation aborted!
clang-10: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 10.0.0 (<a href="mailto:git@github.com">git@github.com</a>:apple/llvm-project.git
3093af41dd65ad466dcd5603e9289244edfee4f5)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
clang-10: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/volume-1e7ba8.c
clang-10: note: diagnostic msg: /tmp/volume-1e7ba8.sh
clang-10: note: diagnostic msg:
********************
make: *** [<builtin>: volume] Error 70</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>