[LLVMbugs] [Bug 3209] New: CodeGen/unsupported.c fails on Linux amd64
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Dec 13 08:01:57 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3209
Summary: CodeGen/unsupported.c fails on Linux amd64
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sebastian.redl at getdesigned.at
CC: llvmbugs at cs.uiuc.edu
The test case CodeGen/unsupported.c triggers an assertion when run on
Linux/x86_64:
******************** TEST
'/home/wasti/projects/llvm/tools/clang/test/CodeGen/unsupported.c' FAILED!
********************
Command:
clang -verify -emit-llvm -o
Output//home/wasti/projects/llvm/tools/clang/test/CodeGen/unsupported.c.out.tmp
/home/wasti/projects/llvm/tools/clang/test/CodeGen/unsupported.c
Incorrect Output:
clang: Value.cpp:63: virtual llvm::Value::~Value(): Assertion `use_empty() &&
"Uses remain when a value is destroyed!"' failed.
0 clang 0x00000000017b0172
1 clang 0x00000000017b04a8
2 libc.so.6 0x00002b739d5c7130
3 libc.so.6 0x00002b739d5c70c5 gsignal + 53
4 libc.so.6 0x00002b739d5c897e abort + 270
5 libc.so.6 0x00002b739d5c06ff __assert_fail + 239
6 clang 0x000000000175fe1c llvm::Value::~Value() + 324
7 clang 0x00000000016ec84b llvm::User::~User() + 91
8 clang 0x000000000171d97b llvm::Instruction::~Instruction() + 71
9 clang 0x000000000171e023 llvm::UnaryInstruction::~UnaryInstruction() +
33
10 clang 0x000000000171e0c5 llvm::AllocationInst::~AllocationInst() + 33
11 clang 0x000000000172d741 llvm::AllocaInst::~AllocaInst() + 33
12 clang 0x00000000012ee62d llvm::SymbolTableListTraits<llvm::Instruction,
llvm::BasicBlock>::deleteNode(llvm::Instruction*) + 43
13 clang 0x00000000012f2453 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>) + 41
14 clang 0x0000000001635d8b llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>) + 35
15 clang 0x00000000016dee05 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction> >::clear() + 61
16 clang 0x00000000016de252 llvm::BasicBlock::~BasicBlock() + 60
17 clang 0x000000000162144b llvm::SymbolTableListTraits<llvm::BasicBlock,
llvm::Function>::deleteNode(llvm::BasicBlock*) + 43
18 clang 0x000000000162738b llvm::iplist<llvm::BasicBlock,
llvm::ilist_traits<llvm::BasicBlock>
>::erase(llvm::ilist_iterator<llvm::BasicBlock>) + 41
19 clang 0x000000000171993b llvm::iplist<llvm::BasicBlock,
llvm::ilist_traits<llvm::BasicBlock>
>::erase(llvm::ilist_iterator<llvm::BasicBlock>,
llvm::ilist_iterator<llvm::BasicBlock>) + 35
20 clang 0x0000000001719993 llvm::iplist<llvm::BasicBlock,
llvm::ilist_traits<llvm::BasicBlock> >::clear() + 61
21 clang 0x0000000001718202 llvm::Function::dropAllReferences() + 96
22 clang 0x00000000017322bb llvm::Module::dropAllReferences() + 57
23 clang 0x0000000001732669 llvm::Module::~Module() + 21
24 clang 0x000000000108d285
llvm::OwningPtr<llvm::Module>::reset(llvm::Module*) + 75
25 clang 0x000000000108d2c3
26 clang 0x0000000000c0c80c
27 clang 0x0000000001192eab clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, bool, bool) + 459
28 clang 0x0000000000c47f93
29 clang 0x0000000000c48d12 main + 1516
30 libc.so.6 0x00002b739d5b3b74 __libc_start_main + 244
31 clang 0x0000000000bfecf9 atan + 257
Output//home/wasti/projects/llvm/tools/clang/test/CodeGen/unsupported.c.out.script:
line 1: 15800 Aborted clang -verify -emit-llvm -o
Output//home/wasti/projects/llvm/tools/clang/test/CodeGen/unsupported.c.out.tmp
/home/wasti/projects/llvm/tools/clang/test/CodeGen/unsupported.c
******************** TEST
'/home/wasti/projects/llvm/tools/clang/test/CodeGen/unsupported.c' FAILED!
********************
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list