<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 --- - Assertion failed: (C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!")"
href="http://llvm.org/bugs/show_bug.cgi?id=15285">15285</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: (C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!")
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>M8R-9yw8a5@mailinator.com
</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>During the building of APInt.cpp (r175337) for the Release+Asserts build:
Assertion failed: (C->getType()->getScalarSizeInBits() >
Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!"),
function getTrunc, file /src/lib/IR/Constants.cpp, line 1512.
Stack dump:
0. Program arguments: /install/bin/clang -cc1 -triple
i386-unknown-freebsd10.0 -emit-obj -disable-free -main-file-name APInt.cpp
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -target-cpu i486 -target-linker-version 2.17.50
-momit-leaf-frame-pointer -coverage-file
/build/lib/Support/Release+Asserts/APInt.o -resource-dir
/install/bin/../lib/clang/3.3 -dependency-file
/build/lib/Support/Release+Asserts/APInt.d.tmp -MP -MT
/build/lib/Support/Release+Asserts/APInt.o -MT
/build/lib/Support/Release+Asserts/APInt.d -D _DEBUG -D _GNU_SOURCE -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I
/src/include -I /src/lib/Support -I /build/include -I /build/lib/Support -O2
-Woverloaded-virtual -Wcast-qual -Wno-nested-anon-types -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcovered-switch-default
-Wno-uninitialized -Wno-missing-field-initializers -fconst-strings
-fdeprecated-macro -fdebug-compilation-dir /build/lib/Support -ferror-limit 19
-fmessage-length 255 -fvisibility-inlines-hidden -mstackrealign -fno-rtti
-fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics
-backend-option -vectorize-loops -o /build/lib/Support/Release+Asserts/APInt.o
-x c++ /src/lib/Support/APInt.cpp
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module
'/src/lib/Support/APInt.cpp'.
4. Running pass 'Combine redundant instructions' on function
'@_ZN4llvm5APInt6divideES0_jRKS0_jPS0_S3_'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (trunk 175270)
Target: i386-unknown-freebsd10.0
Thread model: posix</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>