[LLVMbugs] [Bug 17045] New: ICE with 64-bit __sync_val_compare_and_swap on ARM
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Aug 30 16:52:15 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17045
Bug ID: 17045
Summary: ICE with 64-bit __sync_val_compare_and_swap on ARM
Product: clang
Version: 3.2
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: alex at lycus.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The code triggering the bug:
unsigned long long int i;
int main() {
__sync_val_compare_and_swap (&i, 0, 0);
}
Result:
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple
armv4t-unknown-linux-gnueabi -S -disable-free -disable-llvm-verifier
-main-file-name test.c -mrelocation-model static -mdisable-fp-elim -fmath-errno
-mconstructor-aliases -fuse-init-array -target-abi aapcs-linux -target-cpu
arm7tdmi -msoft-float -mfloat-abi soft -target-feature +soft-float
-target-feature +soft-float-abi -target-feature -neon -target-linker-version
2.23.52.20130620 -momit-leaf-frame-pointer -resource-dir
/usr/bin/../lib/clang/3.2 -fmodule-cache-path /var/tmp/clang-module-cache
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.2/include -internal-isystem
/usr/include/clang/3.2/include/ -internal-externc-isystem
/usr/include/arm-linux-gnueabi -internal-externc-isystem
/usr/include/arm-linux-gnueabi -internal-externc-isystem /usr/include
-fno-dwarf-directory-asm -fdebug-compilation-dir /home/zor/tests -ferror-limit
19 -fmessage-length 125 -mstackrealign -fno-signed-char -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/test-H4cbps.s -x c test.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'test.c'.
4. Running pass 'ARM Instruction Selection' on function '@main'
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Debian clang version 3.2-10 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: arm-unknown-linux-gnueabi
Thread model: posix
--
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/20130830/c05b1b36/attachment.html>
More information about the llvm-bugs
mailing list