<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: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0 && "Pointer is not sufficiently aligned"), function setPointer"
href="http://llvm.org/bugs/show_bug.cgi?id=15696">15696</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0 && "Pointer is not sufficiently aligned"), function setPointer
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>rene@freebsd.org
</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>Created <span class=""><a href="attachment.cgi?id=10315" name="attach_10315" title="test case">attachment 10315</a> <a href="attachment.cgi?id=10315&action=edit" title="test case">[details]</a></span>
test case
Hardware: Raspberry Pi B, 426MB memory allocated to FreeBSD
FreeBSD raspberrypi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r249163M: Fri Apr 5
21:57:35 CEST 2013
rene@clang:/usr/home/rene/rpi/obj/arm.armv6/usr/home/rene/rpi/src/sys/RPI-B-RENE
arm
FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
Target: armv6-unknown-freebsd10.0
Thread model: posix
% c++ -c test.cc -o /dev/null
test.cc:1:56: error: use of undeclared identifier 'locale'
template<typename _CharT> class collate : public locale::facet {
^
test.cc:1:64: error: expected class name
template<typename _CharT> class collate : public locale::facet {
^
Assertion failed: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0 &&
"Pointer is not sufficiently aligned"), function setPointer, file
/usr/home/rene/rpi/src/lib/clang/libclangsema/../../../contrib/llvm/include/llvm/ADT/PointerIntPair.h,
line 80.
Stack dump:
0. Program arguments: /usr/bin/c++ -cc1 -triple armv6-unknown-freebsd10.0 -S
-disable-free -main-file-name test.cc -mrelocation-model static
-mdisable-fp-elim -mconstructor-aliases -target-abi apcs-gnu -target-cpu
arm1136jf-s -msoft-float -mfloat-abi soft -target-feature +soft-float
-target-feature +soft-float-abi -target-feature -neon -momit-leaf-frame-pointer
-coverage-file /tmp/test-NQWono.s -resource-dir /usr/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -fdeprecated-macro
-fno-dwarf-directory-asm -fdebug-compilation-dir /var/tmp -ferror-limit 19
-fmessage-length 80 -mstackrealign -fno-signed-char -fobjc-runtime=gnustep
-fcxx-exceptions -fexceptions -fsjlj-exceptions -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/test-NQWono.s -x c++ test.cc
1. test.cc:4:47: current parser token '_M_compare'
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
Target: armv6-unknown-freebsd10.0
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to <a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a>
and include the crash backtrace, preprocessed source, and associated run
script.
c++: note: diagnostic msg: Error generating preprocessed source(s).
%</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>