[LLVMbugs] [Bug 21508] New: Crash in 'Loop Vectorization'
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Nov 6 15:12:03 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21508
Bug ID: 21508
Summary: Crash in 'Loop Vectorization'
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: eocallaghan at alterapraxis.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13301
--> http://llvm.org/bugs/attachment.cgi?id=13301&action=edit
invocation script
edward at sundancekid:~$ sh nbHtInit-46ae8a.sh
clang: /home/edward/llvm/include/llvm/IR/DataLayout.h:498: uint64_t
llvm::DataLayout::getTypeSizeInBits(llvm::Type *) const: Assertion
`Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"' failed.
#0 0x292361a llvm::sys::PrintStackTrace(_IO_FILE*)
(/usr/local/bin/clang+0x292361a)
#1 0x2924cdb (/usr/local/bin/clang+0x2924cdb)
#2 0x7f1424c000a0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0xf0a0)
#3 0x7f1423cec165 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x32165)
#4 0x7f1423cef3e0 abort (/lib/x86_64-linux-gnu/libc.so.6+0x353e0)
#5 0x7f1423ce5311 __assert_fail (/lib/x86_64-linux-gnu/libc.so.6+0x2b311)
#6 0x96b7c8 (/usr/local/bin/clang+0x96b7c8)
#7 0x18a6a50 (/usr/local/bin/clang+0x18a6a50)
#8 0x18a12ce (/usr/local/bin/clang+0x18a12ce)
#9 0x18a00be (/usr/local/bin/clang+0x18a00be)
#10 0x28b3ed3 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/local/bin/clang+0x28b3ed3)
#11 0x28b414b llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/local/bin/clang+0x28b414b)
#12 0x28b46a7 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/local/bin/clang+0x28b46a7)
#13 0x94c7f3 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::StringRef, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) (/usr/local/bin/clang+0x94c7f3)
#14 0x9414c5 (/usr/local/bin/clang+0x9414c5)
#15 0xb43b33 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/local/bin/clang+0xb43b33)
#16 0x7522de clang::FrontendAction::Execute() (/usr/local/bin/clang+0x7522de)
#17 0x7254ac clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/bin/clang+0x7254ac)
#18 0x707702 clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/bin/clang+0x707702)
#19 0x6fe537 cc1_main(llvm::ArrayRef<char const*>, char const*, void*)
(/usr/local/bin/clang+0x6fe537)
#20 0x705d15 main (/usr/local/bin/clang+0x705d15)
#21 0x7f1423cd8ead __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x1eead)
#22 0x6fe1a9 _start (/usr/local/bin/clang+0x6fe1a9)
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple i386--linux-elf -S
-disable-free -main-file-name nbHtInit.c -mrelocation-model static
-mthread-model posix -mno-zero-initialized-in-bss -relaxed-aliasing
-fmath-errno -masm-verbose -no-integrated-as -mconstructor-aliases
-fuse-init-array -target-cpu pentium4 -target-feature -mmx -target-feature
+sse3 -target-linker-version 2.22 -momit-leaf-frame-pointer -g
-dwarf-column-info -nostdsysteminc -nobuiltininc -D __PRE_RAM__ -Os -Wall
-Wundef -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
-Wredundant-decls -Wno-trigraphs -Wstrict-aliasing -Wshadow -fconst-strings
-fno-dwarf-directory-asm -ferror-limit 19 -fmessage-length 0 -ffreestanding
-mstackrealign -fno-builtin -fobjc-runtime=gcc -fno-common
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -x c
nbHtInit-46ae8a.c
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'Function Pass Manager' on module 'nbHtInit-46ae8a.c'.
4. Running pass 'Loop Vectorization' on function '@NbInitRasParityMacro'
Aborted
edward at sundancekid:~$ uname -a
Linux sundancekid 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1
(2014-09-21) x86_64 GNU/Linux
edward at sundancekid:~$ clang --version
clang version 3.6.0 (trunk 220769)
Target: x86_64-unknown-linux-gnu
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/20141106/8b717c7c/attachment.html>
More information about the llvm-bugs
mailing list