[LLVMbugs] [Bug 15696] New: Assertion failed: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0 && "Pointer is not sufficiently aligned"), function setPointer
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Apr 7 12:27:08 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15696
Bug ID: 15696
Summary: Assertion failed: ((PtrVal & ((1 <<
PtrTraits::NumLowBitsAvailable)-1)) == 0 && "Pointer
is not sufficiently aligned"), function setPointer
Product: clang
Version: 3.2
Hardware: All
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: rene at freebsd.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10315
--> http://llvm.org/bugs/attachment.cgi?id=10315&action=edit
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 at 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 http://llvm.org/bugs/
and include the crash backtrace, preprocessed source, and associated run
script.
c++: note: diagnostic msg: Error generating preprocessed source(s).
%
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130407/c3505e2b/attachment.html>
More information about the llvm-bugs
mailing list