From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 01:31:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 01:31:36 -0500
Subject: [LLVMbugs] [Bug 4029] Function Passes can leave dangling pointers
in CallGraph
In-Reply-To:
Message-ID: <200909010631.n816VauT009024@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4029
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #4 from Chris Lattner 2009-09-01 01:31:35 ---
*** This bug has been marked as a duplicate of bug 3601 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 01:34:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 01:34:05 -0500
Subject: [LLVMbugs] [Bug 3601] function passes vs call graph
In-Reply-To:
Message-ID: <200909010634.n816Y5sq009378@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3601
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|Loop Optimizer |Interprocedural Analyses
Resolution| |FIXED
Summary|loop passes vs call graph |function passes vs call
| |graph
--- Comment #4 from Chris Lattner 2009-09-01 01:34:04 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090831/086071.html
Testcase here: test/Transforms/Inline/callgraph-update.ll
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 02:48:08 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 02:48:08 -0500
Subject: [LLVMbugs] [Bug 4847] New: [2.6] clang/llc prerelease: wrong
assembly generated with -mcmodel=kernel
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4847
Summary: [2.6] clang/llc prerelease: wrong assembly generated
with -mcmodel=kernel
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
clang -MD -MF arch/x86/kernel/.traps.o.d -nostdinc -isystem
/usr/local/bin/../lib/^Cang/1.0/include -Iinclude
-I/home/edwin/builds/linux-2.6/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -Wno-unused-value -O2 -m64 -march=core2
-mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer
-fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(traps)" -D"KBUILD_MODNAME=KBUILD_STR(traps)" -c
-emit-llvm arch/x86/kernel/traps.c
/tmp/cc-O9QBCM.s:1717: Error: suffix or operands invalid for `movq'
If I remove -mcmodel=kernel, then there is no error.
To reproduce, this fails:
$ clang -O1 -mcmodel=kernel -c traps.i
This works:
$ clang -O1 -c traps.i
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 02:54:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 02:54:59 -0500
Subject: [LLVMbugs] [Bug 4847] [2.6] clang/llc prerelease: wrong assembly
generated with -mcmodel=kernel
In-Reply-To:
Message-ID: <200909010754.n817sxnY028193@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4847
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asl at math.spbu.ru
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #5 from Anton Korobeynikov 2009-09-01 02:54:58 ---
*** This bug has been marked as a duplicate of bug 4689 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 03:05:23 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 03:05:23 -0500
Subject: [LLVMbugs] [Bug 4848] New: [2.6] instcombine runs out of memory
(infinite loop?) when compiling kernel/hrtimer.c
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4848
Summary: [2.6] instcombine runs out of memory (infinite loop?)
when compiling kernel/hrtimer.c
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Blocks: 4068
Created an attachment (id=3408)
--> (http://llvm.org/bugs/attachment.cgi?id=3408)
bugpoint-reduced-simplified.bc
clang runs out of memory when compiling hrtimer.c, bugpoint reduced a
testcase for instcombine. The testcase contains only 3 instructions.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
0 clang-cc 0x000000000128595f
1 clang-cc 0x0000000001287629
2 libpthread.so.0 0x0000003672e0e720
3 libc.so.6 0x0000003672231d25 gsignal + 53
4 libc.so.6 0x0000003672234de1 abort + 385
5 libstdc++.so.6 0x00000034cfcc6dc5 __gnu_cxx::__verbose_terminate_handler()
+ 277
6 libstdc++.so.6 0x00000034cfcc51f6
7 libstdc++.so.6 0x00000034cfcc5223
8 libstdc++.so.6 0x00000034cfcc531e
9 libstdc++.so.6 0x00000034cfcc57ad operator new(unsigned long) + 125
10 clang-cc 0x000000000113f1dd
11 clang-cc 0x000000000113f729
12 clang-cc 0x000000000113fc45
13 clang-cc 0x000000000105e3ba
14 clang-cc 0x0000000001095229
15 clang-cc 0x000000000109667e
16 clang-cc 0x000000000121336b
17 clang-cc 0x0000000001213d36
18 clang-cc 0x0000000001213fa0
19 clang-cc 0x0000000000427558
20 clang-cc 0x0000000000427ee7
21 clang-cc 0x000000000061f19b
22 clang-cc 0x000000000040dce9
23 clang-cc 0x00000000004167da main + 5066
24 libc.so.6 0x000000367221e5c6 __libc_start_main + 230
25 clang-cc 0x000000000040b869
Stack dump:
0. Program arguments: /usr/local/bin/../libexec/clang-cc -triple
x86_64-unknown-linux-gnu -S -disable-free -main-file-name hrtimer.c
--relocation-model static --disable-fp-elim --unwind-tables=1
--disable-red-zone -mcpu core2 -code-model kernel -target-feature -sse
-target-feature -mmx -target-feature -sse2 -target-feature -3dnow
--fmath-errno=1 -nostdinc -dependency-file kernel/.hrtimer.o.d -MT
kernel/.tmp_hrtimer.o -sys-header-deps -isystem
/usr/local/bin/../lib/clang/1.0/include -include include/linux/autoconf.h
-D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(hrtimer)
-DKBUILD_MODNAME=KBUILD_STR(hrtimer) -Iinclude
-I/home/edwin/builds/linux-2.6/arch/x86/include -O2 -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration
-Wno-format-security -Wno-unused-value -Wno-sign-compare
-Wframe-larger-than=2048 -Wdeclaration-after-statement -Wno-pointer-sign
--stack-protector=0 -fno-common -fdiagnostics-show-option -o /tmp/cc-Rz1pJ9.s
-x c kernel/hrtimer.c
1. parser at end of file
2. Per-function optimization
3. Running pass 'Combine redundant instructions' on function
'@init_hrtimers_cpu'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
make[1]: *** [kernel/hrtimer.o] Error 250
opt bugpoint-reduced-simplified.bc -instcombine
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
opt: Unexpected unknown exception occurred.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 05:41:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 05:41:47 -0500
Subject: [LLVMbugs] [Bug 4849] New: Test failure in llvm2. 6-prelease 1 when
compiled with llvm-gcc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4849
Summary: Test failure in llvm2.6-prelease 1 when compiled with
llvm-gcc
Product: Test Suite
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DejaGNU
AssignedTo: unassignedbugs at nondot.org
ReportedBy: c.r1 at gmx.de
CC: llvmbugs at cs.uiuc.edu
Hi,
in the following circumstances, one test of the DejaGNU suite fails.
build env:
corni at h1425567:~/llvm-2.6/build$ gcc --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1) built llvm-2.6 with the above gcc
2) run make check - everything fine
3) bootstrapped llvm-gcc-2.6 against the above llvm-2.6
4) compiled llvm-2.6 with the bootstrapped llvm-gcc
5) run make check - one failure:
FAIL: /home/corni/llvm-2.6/llvm-2.6/test/Feature/load_module.ll for PR1318
Failed with exit(1) at line 1
while running: llvm-as <
/home/corni/llvm-2.6/llvm-2.6/test/Feature/load_module.ll | opt
-load=/home/corni/llvm-2.6/build/Release/lib/LLVMHello.so -hello
-disable-output - |& /bin/grep Hello
Error opening '/home/corni/llvm-2.6/build/Release/lib/LLVMHello.so':
/home/corni/llvm-2.6/build/Release/lib/LLVMHello.so: undefined symbol:
_ZNK4llvm4Pass11getPassNameEv
child process exited abnormally
The system is i686, Ubuntu 8.04 server on a Strato V-Power Server.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 06:35:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 06:35:57 -0500
Subject: [LLVMbugs] [Bug 4850] New: The execution of code generated for MIPS
is failure
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4850
Summary: The execution of code generated for MIPS is failure
Product: new-bugs
Version: 2.6
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: miyo at wasamon.net
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3410)
--> (http://llvm.org/bugs/attachment.cgi?id=3410)
tried source code, generated code by llvm, and the dump of execution
I compiled the program (swap0.c) included the attached archive
by using clang-cc and native gcc for MIPS32.
which is a simple program to swap arguments
But the execution was failure.
The process of compilation is the following:
clang-cc swap0.c
llvm-as swap0.ll
llc -march=mips swap0.bc
gcc -g swap0.s
I checked a dump result of execution on MIPS (dump.txt).
In the result, it seems that callee take the arguments by register
although caller passed the arguments by stack.
At the instruction at line 20 in caller,
sw $4, 0($sp)
callee stores one of the passed arguments into 0($sp)
under assuming that the values was passed by $4.
But, caller does not set the value to $4.
So, when the program load a value from0($sp),
the execution is failure.
It is succeeded executing of codes for x86 and Cell SPU
generated by same process.
Do I have to set some options for a compilation of MIPS program ?
Or, did I have mistakes in my compilation process?
Target processor is MIPS and Linux is running on it.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 07:32:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 07:32:35 -0500
Subject: [LLVMbugs] [Bug 4851] New: [MIPS] main() causes an assert
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4851
Summary: [MIPS] main() causes an assert
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rich at pennware.com
CC: llvmbugs at cs.uiuc.edu
main() is defined as a varargs function by my parser. The attached test case
fails during code generation:
[~/ellcc/test/source] main% llvm-as main.o.ll
Error opening output file 'main.o.bc'
Use -f command line argument to force output
[~/ellcc/test/source] main% llvm-as -f main.o.ll
[~/ellcc/test/source] main% llc main.o.bc
llc:
/home/rich/llvm-trunk-new/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:5872:
void llvm::SelectionDAGISel::LowerArguments(llvm::BasicBlock*): Assertion
`InVals.size() == Ins.size() && "LowerFormalArguments didn't emit the correct
number of values!"' failed.
0 llc 0x08fbf4d8
1 llc 0x08fbfaa4
2 0x00814400 __kernel_sigreturn + 0
3 libc.so.6 0x00bcce28 abort + 392
4 libc.so.6 0x00bc440e __assert_fail + 238
5 llc 0x08b9ee7b
llvm::SelectionDAGISel::LowerArguments(llvm::BasicBlock*) + 1737
6 llc 0x08bd3767
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
llvm::TargetInstrInfo const&) + 361
7 llc 0x08bd4e30
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 886
8 llc 0x08cc52de
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 86
9 llc 0x08f38669 llvm::FPPassManager::runOnFunction(llvm::Function&) +
299
10 llc 0x08f3916c llvm::FunctionPassManagerImpl::run(llvm::Function&) +
124
11 llc 0x08f39339 llvm::FunctionPassManager::run(llvm::Function&) + 135
12 llc 0x0845adea main + 3636
13 libc.so.6 0x00bb66e5 __libc_start_main + 229
14 llc 0x08458fd1
Stack dump:
0. Program arguments: llc main.o.bc
1. Running pass 'MIPS DAG->DAG Pattern Instruction Selection' on function
'@main'
Abort
[~/ellcc/test/source] main%
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 08:25:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 08:25:47 -0500
Subject: [LLVMbugs] [Bug 4852] New: [Sparc] The code generator uses ".bss"
instead of ". section .bss"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4852
Summary: [Sparc] The code generator uses ".bss" instead of
".section .bss"
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rich at pennware.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3412)
--> (http://llvm.org/bugs/attachment.cgi?id=3412)
A small example that generates .bss
In the attached file, there is a static initialized variable that is
initialized to zero. It is placed in the .bss section by using a ".bss"
directive rather than a .section .bss" directive.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 11:14:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 11:14:31 -0500
Subject: [LLVMbugs] [Bug 4061] clang breaks strict-aliasing rules according
to g++4.4
In-Reply-To:
Message-ID: <200909011614.n81GEVjp004127@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4061
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Douglas Gregor 2009-09-01 11:14:30 ---
Should be fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090831/020877.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 13:39:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 13:39:55 -0500
Subject: [LLVMbugs] [Bug 4415] crash with -indvars
In-Reply-To:
Message-ID: <200909011839.n81Idtg3024757@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4415
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #7 from Chris Lattner 2009-09-01 13:39:55 ---
This apparently can't be reproduced.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 17:43:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 17:43:01 -0500
Subject: [LLVMbugs] [Bug 4855] New: Missed optimization on pointer known
equal to a constant global
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4855
Summary: Missed optimization on pointer known equal to a constant
global
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jyasskin at google.com
CC: nicholas at mxc.ca, llvmbugs at cs.uiuc.edu
Blocks: 1772
The following module is a fixed point under "opt -O3", while the optimizers
ought to replace "load i8* %a" with "load i8* @gv" and then realize that
loading it produces a constant value. "opt -predsimplify -O3" successfully
optimizes it.
; ModuleID = ''
@gv = internal constant i8 7 ; [#uses=1]
define i8 @f(i8* %a) nounwind {
entry:
%cond = icmp eq i8* %a, @gv ; [#uses=1]
br i1 %cond, label %bb2, label %bb
bb: ; preds = %entry
ret i8 0
bb2: ; preds = %entry
%should_be_const = load i8* %a ; [#uses=1]
ret i8 %should_be_const
}
This seems related to PR1768, but Nick assures me they're different.
I'm interested because this is the form I was planning to use for Unladen
Swallow's type guards.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 19:19:44 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 19:19:44 -0500
Subject: [LLVMbugs] [Bug 4845] [2.6] crashing inside JITed code when running
on x86_64
In-Reply-To:
Message-ID: <200909020019.n820Ji9x006772@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4845
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Evan Cheng 2009-09-01 19:19:43 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090831/086156.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 19:43:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 19:43:25 -0500
Subject: [LLVMbugs] [Bug 4857] New: Check/fix sys::getHostTriple on
subtargets.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4857
Summary: Check/fix sys::getHostTriple on subtargets.
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
We should check getHostTriple to make sure it is returning an appropriate value
for subtargets.
Bug 4845 seems to indicate that on Darwin at least it is returning
i386-apple-darwin... even when running in 64-bit mode. This should be fixed.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 22:11:45 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 22:11:45 -0500
Subject: [LLVMbugs] [Bug 4860] New: Clang doesn' t honour -Wno-attributes
when applying __attribute__(( __warn_unused_result__)) to variables.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4860
Summary: Clang doesn't honour -Wno-attributes when applying
__attribute__((__warn_unused_result__)) to variables.
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jpihlaja at cc.helsinki.fi
CC: llvmbugs at cs.uiuc.edu, eocallaghan at auroraux.org
The following program solicits a warning when the __warn_unused_result__
attribute is applied to a variable. gcc >= 4.1 does not emit a warning with
-Wno-attributes.
$ cat >wnoattr-var.c
__attribute__((__warn_unused_result__)) int x;
$ /opt/clang/bin/clang -c -Wall -Wno-attributes wnoattr-var.c
wnoattr-var.c:1:16: warning: '__warn_unused_result__' attribute only applies to
function types
__attribute__((__warn_unused_result__)) int x;
^
1 diagnostic generated.
$ /opt/clang/bin/clang -v
clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/trunk 80665)
Target: i386-pc-solaris2.11
Thread model: posix
$ uname -a
SunOS hydra 5.11 snv_110 i86pc i386 i86pc
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 1 23:32:46 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 1 Sep 2009 23:32:46 -0500
Subject: [LLVMbugs] [Bug 4061] clang breaks strict-aliasing rules according
to g++4.4
In-Reply-To:
Message-ID: <200909020432.n824WklC007466@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4061
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #7 from Duncan Sands 2009-09-01 23:32:45 ---
Reopening because gcc-4.4 still reports a gazillion issues. Here are the
first two:
clang/lib/Basic/../../include/clang/Basic/SourceLocation.h: In member function
???bool clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation,
clang::SourceLocation) const???:
clang/lib/Basic/../../include/clang/Basic/SourceLocation.h:43: warning:
dereferencing pointer ?????? does break strict-aliasing rules
/usr/include/c++/4.4/bits/stl_tree.h:175: note: initialized from here
...
clang/lib/Parse/../../include/clang/Parse/DeclSpec.h: In member function
???clang::CXXScopeSpec&
clang::DeclaratorChunk::MemberPointerTypeInfo::Scope()???:
clang/lib/Parse/../../include/clang/Parse/DeclSpec.h:637: warning:
dereferencing type-punned pointer will break strict-aliasing rules
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 00:35:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 00:35:55 -0500
Subject: [LLVMbugs] [Bug 4848] [2.6] instcombine runs out of memory
(infinite loop?) when compiling kernel/hrtimer.c
In-Reply-To:
Message-ID: <200909020535.n825Ztww015707@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4848
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-09-02 00:35:55 ---
Fixed in r80762
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 01:11:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 01:11:05 -0500
Subject: [LLVMbugs] [Bug 4861] New: Eliminate VISIBILITY_HIDDEN from the
code base
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4861
Summary: Eliminate VISIBILITY_HIDDEN from the code base
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-cleanup
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
VISIBILITY_HIDDEN is an optimization hint for compilers prior to GCC 4.2. By
the time 2.7 ships, gcc 4.1 and earlier will be really really really old. This
hint is cluttering up the codebase and should be removed.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 01:31:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 01:31:38 -0500
Subject: [LLVMbugs] [Bug 4815] DSE invalidates iterator
In-Reply-To:
Message-ID: <200909020631.n826Vc76023057@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4815
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|Assertion `NodePtr && "--'d |DSE invalidates iterator
|off the beginning of an |
|ilist!"' failed. |
--- Comment #3 from Chris Lattner 2009-09-02 01:31:38 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090831/086181.html
Thanks John!
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 02:29:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 02:29:50 -0500
Subject: [LLVMbugs] [Bug 4845] [2.6] crashing inside JITed code when running
on x86_64
In-Reply-To:
Message-ID: <200909020729.n827To3v030695@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4845
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #7 from Evan Cheng 2009-09-02 02:29:50 ---
Ok, JIT is fixed on x86_64-apple-darwin as far as I can tell. But the example
is still failing for some reason.
--
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.
From gausszhch at gmail.com Wed Sep 2 06:42:17 2009
From: gausszhch at gmail.com (gauss)
Date: Wed, 2 Sep 2009 19:42:17 +0800
Subject: [LLVMbugs] link-error: different visibilities
Message-ID: <834cd97f0909020442l5260524ag2de4a4628c644c40@mail.gmail.com>
When I use llvm-2.5 to compile gnash which is a GNU flash movie player, some
errors appeared as follow:
*llvm-ld: error: Cannot link in module
'../libcore/.libs/libgnashcore.a(movie_root.o)': Linking globals named
'_ZNKSt6vectorIN5gnash8geometry7Range2dIfEESaIS3_EE4sizeEv': symbols have
different visibilities!*
I demangle the name
"_ZNKSt6vectorIN5gnash8geometry7Range2dIfEESaIS3_EE4sizeEv" with tool
c++filt, and its corresponding source code is:
*std::vector,
std::allocator > >::size() const.* It is a
template method "Vector<>::size()" inserted by llvm-g++ at compile time.
LLVM-g++ compiled all the cpp file correctly, but llvm-ld failed to link
them because of the different visibilities. Is there some wrong with
LLVM-g++? How to deal with it?
Any one will help me?
Thanks!
Gauss, 09-02
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/llvmbugs/attachments/20090902/abd5bada/attachment.html
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 12:05:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 12:05:22 -0500
Subject: [LLVMbugs] [Bug 4850] The execution of code generated for MIPS is
failure
In-Reply-To:
Message-ID: <200909021705.n82H5MVT022028@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4850
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel at zuster.org
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #4 from Daniel Dunbar 2009-09-02 12:05:20 ---
Clang is not yet supported for targetting MIPS.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 13:55:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 13:55:41 -0500
Subject: [LLVMbugs] [Bug 4865] New: JIT dwarf exception handling seems broken
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4865
Summary: JIT dwarf exception handling seems broken
Product: libraries
Version: 2.6
Platform: PC
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Target-Independent JIT
AssignedTo: unassignedbugs at nondot.org
ReportedBy: lsansonetti at apple.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3416)
--> (http://llvm.org/bugs/attachment.cgi?id=3416)
test source
Tested on: Mac OS 10.6, Core 2 Duo, on both i386 and x86_64 modes.
It looks like the dwarf exception tables emitted at runtime for libgcc causes a
crash inside the personality function.
This used to work at least until r72741 on the exact same environment (which
has the new libgcc-compatible runtime), so I suspect a regression in LLVM.
Attached is a simple program (both the source and the bitcode) and the crash is
reproducible using:
$ lli -enable-eh /tmp/t.bc
0 lli 0x0000000100756962 std::_Rb_tree, std::less,
std::allocator
>::_M_erase(std::_Rb_tree_node*) + 8866
1 lli 0x0000000100757426 std::_Rb_tree, std::less,
std::allocator
>::_M_erase(std::_Rb_tree_node*) + 11622
2 libSystem.B.dylib 0x00007fff8016a14a _sigtramp + 26
3 libSystem.B.dylib 000000000000000000 _sigtramp + 2146000592
4 libstdc++.6.dylib 0x00007fff84b61299 read_encoded_value_with_base(unsigned
char, unsigned long, unsigned char const*, unsigned long*) + 267
5 libstdc++.6.dylib 0x00007fff84b613a1 parse_lsda_header(_Unwind_Context*,
unsigned char const*, lsda_header_info*) + 68
6 libstdc++.6.dylib 0x00007fff84b616e2 __gxx_personality_v0 + 217
7 libSystem.B.dylib 0x00007fff8016ecb1 _Unwind_RaiseException + 145
8 libstdc++.6.dylib 0x00007fff84b61bef __cxa_throw + 91
9 libstdc++.6.dylib 0x0000000100b0010c __cxa_throw + 2079974776
10 lli 0x0000000100454bb2 std::vector
>::_M_insert_aux(__gnu_cxx::__normal_iterator > >,
llvm::sys::MemoryBlock const&) + 30722
11 lli 0x000000010001177d llvm::cl::ValuesClass
llvm::cl::values(char const*, int, char const*, ...) + 7421
12 lli 0x0000000100011248 llvm::cl::ValuesClass
llvm::cl::values(char const*, int, char const*, ...) + 6088
13 lli 0x0000000000000003 llvm::cl::ValuesClass
llvm::cl::values(char const*, int, char const*, ...) + 4294903171
Stack dump:
0. Program arguments: lli -enable-eh /tmp/t.bc
Abort trap
I looked at the changes in JITDwarfEmitter.cpp since and tried to revert
r79674, without success.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 15:28:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 15:28:51 -0500
Subject: [LLVMbugs] [Bug 4866] New: Exciting new crash with -inline -dse
-domtree
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4866
Summary: Exciting new crash with -inline -dse -domtree
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3418)
--> (http://llvm.org/bugs/attachment.cgi?id=3418)
testcase .ll
This problem didn't exist a few days ago. Reduced from Ada ACATS test c974001.
$ opt -inline -dse -domtree dom_crash.bc
0 opt 0x0000000000990b57
1 opt 0x000000000099098a
2 libc.so.6 0x00007faad8e17530
3 opt 0x0000000000515006
__gnu_cxx::__normal_iterator**,
std::__norm::vector*,
std::allocator*> >
>::__normal_iterator(llvm::DomTreeNodeBase** const&) + 16
4 opt 0x0000000000513f3b
std::__norm::vector*,
std::allocator*> >::begin() + 31
5 opt 0x0000000000512b8b
std::__debug::vector*,
std::allocator*> >::begin() + 33
6 opt 0x0000000000877a86
llvm::DomTreeNodeBase::begin() + 38
7 opt 0x00000000005116fc
llvm::GraphTraits*>::child_begin(llvm::DomTreeNodeBase*)
+ 34
8 opt 0x0000000000514675
llvm::df_iterator*,
llvm::SmallPtrSet*, 8u>, false,
llvm::GraphTraits*>
>::df_iterator(llvm::DomTreeNodeBase*) + 125
9 opt 0x0000000000513652
llvm::df_iterator*,
llvm::SmallPtrSet*, 8u>, false,
llvm::GraphTraits*>
>::begin(llvm::DomTreeNodeBase* const&) + 47
10 opt 0x00000000005124b7
llvm::df_iterator*,
llvm::SmallPtrSet*>::NodeType*,
8u>, false, llvm::GraphTraits*> >
llvm::df_begin*>(llvm::DomTreeNodeBase*
const&) + 34
11 opt 0x000000000050e19d
12 opt 0x00000000008d5e37
llvm::FPPassManager::runOnFunction(llvm::Function&) + 395
13 opt 0x0000000000708e8c
14 opt 0x0000000000709bac
15 opt 0x00000000008d63ce
llvm::MPPassManager::runOnModule(llvm::Module&) + 504
16 opt 0x00000000008d6985 llvm::PassManagerImpl::run(llvm::Module&) +
125
17 opt 0x00000000008d6c8d llvm::PassManager::run(llvm::Module&) + 39
18 opt 0x00000000004203f8 main + 3595
19 libc.so.6 0x00007faad8e02abd __libc_start_main + 253
20 opt 0x00000000004002a9
Stack dump:
0. Running pass 'CallGraph Pass Manager' on module 'dom_crash.bc'.
1. Running pass 'Dead Store Elimination' on function
'@c974001__lengthy_calculation.1736'
Segmentation fault (core dumped)
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 19:03:16 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 19:03:16 -0500
Subject: [LLVMbugs] [Bug 4869] New: clang x86-32 doesn't implement ABI on
FreeBSD
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4869
Summary: clang x86-32 doesn't implement ABI on FreeBSD
Product: clang
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: csdavec at swan.ac.uk
CC: llvmbugs at cs.uiuc.edu
Running the GCC ABI test with clang as the other C compiler, I get these
failures:
FAIL: gcc.dg/compat/struct-by-value-22 c_compat_x_alt.o compile
FAIL: gcc.dg/compat/struct-by-value-22 c_compat_y_alt.o compile
FAIL: gcc.dg/compat/struct-complex-1 c_compat_x_alt.o compile
FAIL: gcc.dg/compat/struct-complex-1 c_compat_y_alt.o compile
FAIL: gcc.dg/compat/struct-complex-2 c_compat_x_alt.o compile
FAIL: gcc.dg/compat/struct-complex-2 c_compat_y_alt.o compile
FAIL: gcc.dg/compat/struct-layout-1 c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/struct-layout-1 c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/struct-return-19 c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/struct-return-19 c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/struct-return-21 c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/struct-return-21 c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/struct-return-2 c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/struct-return-2 c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/struct-return-3 c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/struct-return-3 c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/union-return-1 c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/union-return-1 c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/vector-1 c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/vector-1 c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/vector-1a c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/vector-1a c_compat_x_alt.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/vector-2 c_compat_x_alt.o compile
FAIL: gcc.dg/compat/vector-2 c_compat_y_alt.o compile
FAIL: gcc.dg/compat/vector-2a c_compat_x_tst.o-c_compat_y_alt.o execute
FAIL: gcc.dg/compat/vector-2a c_compat_x_alt.o-c_compat_y_tst.o execute
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 21:13:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 21:13:43 -0500
Subject: [LLVMbugs] [Bug 4852] [Sparc] The code generator uses ".bss"
instead of ".section .bss "
In-Reply-To:
Message-ID: <200909030213.n832Dh5r029822@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4852
Richard Pennington changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Richard Pennington 2009-09-02 21:13:43 ---
This was fixed somewhere between the code freeze and now.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Sep 2 22:22:56 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 2 Sep 2009 22:22:56 -0500
Subject: [LLVMbugs] [Bug 4870] New: Memory corruption in metadata something
something
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4870
Summary: Memory corruption in metadata something something
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
My i386-apple-darwin10 LLVM build fails because opt crashes stripping the debug
info in libprofile. This appears to be some kind of memory corruption, and it
works for x86_64-apple-darwin10.
--
ddunbar at giles:tmp$ /Users/ddunbar/llvm.obj.32/Debug/bin/opt -std-compile-opts
-strip-debug -o /dev/null -f /tmp/t.bc
ddunbar at giles:tmp$ /Users/../Users/ddunbar/llvm.obj.32/Debug/bin/opt
-std-compile-opts -strip-debug -o /dev/null -f /tmp/t.bc
ddunbar at giles:tmp$ /Users/../Users/../Users/ddunbar/llvm.obj.32/Debug/bin/opt
-std-compile-opts -strip-debug -o /dev/null -f /tmp/t.bc
While deleting: metadata %
Use still stuck around after Def is destroyed:!0 = metadata !{i32 458798, i32
0, metadata !1, metadata !"__inline_memcpy_chk", metadata
!"__inline_memcpy_chk", metadata !"__inline_memcpy_chk", metadata !2, i32 57,
null, i1 true, i1 true}
!1 = metadata !{i32 458769, i32 0, i32 1, metadata !"CommonProfiling.c",
metadata !"/Volumes/Data/Users/ddunbar/llvm/runtime/libprofile", metadata
!"4.2.1 (Based on Apple Inc. build 5649) (LLVM build)", i1 true, i1 false,
metadata !"", i32 0}
!2 = metadata !{i32 458769, i32 0, i32 1, metadata !"_string.h", metadata
!"/usr/include/secure", metadata !"4.2.1 (Based on Apple Inc. build 5649) (LLVM
build)", i1 false, i1 false, metadata !"", i32 0}
Assertion failed: (use_empty() && "Uses remain when a value is destroyed!"),
function ~Value, file /Volumes/Data/Users/ddunbar/llvm/lib/VMCore/Value.cpp,
line 81.
0 opt 0x003d0270 PrintStackTrace(void*) + 45
1 opt 0x003d0878 SignalHandler(int) + 410
2 libSystem.B.dylib 0x93442bfb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1824248879
4 libSystem.B.dylib 0x934d0ba5 raise + 26
5 libSystem.B.dylib 0x934e6c5c abort + 93
6 libSystem.B.dylib 0x934d3804 __pthread_markcancel + 0
7 opt 0x0038048f llvm::Value::~Value() + 443
8 opt 0x002e357b llvm::User::~User() + 103
9 opt 0x00356514 llvm::MetadataBase::~MetadataBase() + 40
10 opt 0x0035520a llvm::MDNode::~MDNode() + 106
11 opt 0x00349e12 llvm::LLVMContext::RemoveDeadMetadata() + 258
12 opt 0x000a7c5a StripDebugInfo(llvm::Module&) + 719
13 opt 0x000a82f4 (anonymous
namespace)::StripSymbols::runOnModule(llvm::Module&) + 26
14 opt 0x0035ea08
llvm::MPPassManager::runOnModule(llvm::Module&) + 378
15 opt 0x00360c52 llvm::PassManagerImpl::run(llvm::Module&) +
112
16 opt 0x00360ca9 llvm::PassManager::run(llvm::Module&) + 27
17 opt 0x0005adca main + 4469
18 opt 0x0004f0c9 start + 53
Stack dump:
0. Running pass 'Strip all symbols from a module' on module '/tmp/t.bc'.
Abort trap
--
(Yes, thats running the same binary three times with a longer argv[0]).
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 03:47:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 03:47:05 -0500
Subject: [LLVMbugs] [Bug 4871] New: Assertion failed: (Bits != 0 && " Cannot
print this instruction."), function printInstruction, file /data/
home/rdivacky/llvm/lib/Target/X86/AsmPrinter/../X86GenAsmWriter.inc,
line 2251.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4871
Summary: Assertion failed: (Bits != 0 && "Cannot print this
instruction."), function printInstruction, file
/data/home/rdivacky/llvm/lib/Target/X86/AsmPrinter/../X8
6GenAsmWriter.inc, line 2251.
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
I am getting this assertion when compiling the attached
lev /tmp$ clang -c divxc3.c
Assertion failed: (Bits != 0 && "Cannot print this instruction."), function
printInstruction, file
/data/home/rdivacky/llvm/lib/Target/X86/AsmPrinter/../X86GenAsmWriter.inc, line
2251.
Stack dump:
0. Program arguments: /usr/local/bin/../libexec/clang-cc -triple
x86_64-unknown-freebsd7.2 -S -disable-free -main-file-name divxc3.c
--relocation-model static --disable-fp-elim --unwind-tables=1 --mcpu=x86-64
--fmath-errno=1 -fdiagnostics-show-option -o /tmp/cc-3IzTHM.s -x c divxc3.c
1. parser at end of file
2. Code generation
3. Running pass 'X86 AT&T-Style Assembly Printer' on function '@__divxc3'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
this is with clang/llvm r80908
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 04:08:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 04:08:17 -0500
Subject: [LLVMbugs] [Bug 4866] Exciting new crash with -inline -dse -domtree
In-Reply-To:
Message-ID: <200909030908.n8398HjZ032075@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4866
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Duncan Sands 2009-09-03 04:08:15 ---
It turns out that this was due to a patch I had applied locally. Sorry
for the noise.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 06:15:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 06:15:48 -0500
Subject: [LLVMbugs] [Bug 4872] New: Bitcode linking of debug information
fails
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4872
Summary: Bitcode linking of debug information fails
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rich at pennware.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3422)
--> (http://llvm.org/bugs/attachment.cgi?id=3422)
First file.
If I link two files with debugging metadata, the link failes.
[~/ellcc/test/source] main% llvm-as a.o.ll
[~/ellcc/test/source] main% llvm-as b.o.ll
[~/ellcc/test/source] main% llvm-ld a.o.bc b.o.bc
0 llvm-ld 0x085986f8
1 llvm-ld 0x08598cc4
2 0x00d88400 __kernel_sigreturn + 0
3 llvm-ld 0x082a6c78 bool llvm::isa_impl(llvm::Value const&) + 29
4 llvm-ld 0x082aae3c llvm::isa_impl_wrap::doit(llvm::Value const&) + 29
5 llvm-ld 0x082aae5f bool
llvm::isa_impl_cl::isa(llvm::Value const&) + 29
6 llvm-ld 0x082aae82 bool llvm::isa_impl_cl::isa(llvm::Value const&) + 29
7 llvm-ld 0x082aaea5 bool llvm::isa_impl_cl::isa(llvm::Value const*) + 29
8 llvm-ld 0x082aaeca bool llvm::isa(llvm::Value const* const&) + 31
9 llvm-ld 0x082be4ba llvm::cast_retty::ret_type llvm::dyn_cast(llvm::Value const* const&) + 29
10 llvm-ld 0x082c3bb8
11 llvm-ld 0x082c4184
12 llvm-ld 0x082c45e9
13 llvm-ld 0x082c47b6
14 llvm-ld 0x082c811d llvm::Linker::LinkModules(llvm::Module*,
llvm::Module*, std::string*) + 1979
15 llvm-ld 0x082c24e2 llvm::Linker::LinkInModule(llvm::Module*,
std::string*) + 46
16 llvm-ld 0x082c19b1 llvm::Linker::LinkInFile(llvm::sys::Path const&,
bool&) + 1505
17 llvm-ld 0x082c20e9
llvm::Linker::LinkInItems(std::vector,
std::allocator > > const&,
std::vector, std::allocator > >&) + 259
18 llvm-ld 0x082980c0 main + 1589
19 libc.so.6 0x00bb66e5 __libc_start_main + 229
20 llvm-ld 0x0828e831
Stack dump:
0. Program arguments: llvm-ld a.o.bc b.o.bc
Segmentation fault
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 07:45:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 07:45:32 -0500
Subject: [LLVMbugs] [Bug 4873] New: Infinite loop in
APFloat::convertFromDecimalString() around APFloat.cpp:2378
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4873
Summary: Infinite loop in APFloat::convertFromDecimalString()
around APFloat.cpp:2378
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: d.g.gorbachev at gmail.com
CC: llvmbugs at cs.uiuc.edu
LLVM r80583, compiled with LLVM-GCC with -O3.
Test program:
int main(void)
{
llvm::APFloat af(0.0);
af.convertFromString(llvm::StringRef("2.71828", 7),
llvm::APFloat::rmNearestTiesToEven);
return 0;
}
"p" is incremented, then assigned back to the beginning of the string.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 07:49:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 07:49:03 -0500
Subject: [LLVMbugs] [Bug 4874] New: llvm-gcc build on Sloaris SPARC
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4874
Summary: llvm-gcc build on Sloaris SPARC
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: fedor.sakharov at gmail.com
CC: llvmbugs at cs.uiuc.edu
Building llvm-gcc-4.2 ends up with an error.
llvm-gcc-4.2-src/gcc -I../../llvm-gcc-4.2-src/gcc/.
-I../../llvm-gcc-4.2-src/gcc/../include
-I../../llvm-gcc-4.2-src/gcc/../libcpp/include
-I../../llvm-gcc-4.2-src/gcc/../libdecnumber -I../libdecnumber
-I/export/home/sakharov/llvm-objects/include
-I/export/home/sakharov/llvm-src/include \
-c ../../llvm-gcc-4.2-src/gcc/config/sparc/gmon-sol2.c -o
gmon.o
../../llvm-gcc-4.2-src/gcc/config/sparc/gmon-sol2.c:424: internal compiler
error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[2]: *** [gmon.o] Error 1
make[2]: Leaving directory `/export/home/sakharov/llvm-gcc-4.2-objects/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/export/home/sakharov/llvm-gcc-4.2-objects'
make: *** [all] Error 2
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 09:11:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 09:11:31 -0500
Subject: [LLVMbugs] [Bug 4875] New: llmv-ld is not able to link libprofile
in debug mode.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4875
Summary: llmv-ld is not able to link libprofile in debug mode.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: astifter-llvm at gmx.at
CC: llvmbugs at cs.uiuc.edu, astifter-llvm at gmx.at
When llvm is compiled with debugging enabled, then I get the following error
during linking the libprofile:
make[1]: Entering directory
`/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile'
llvm[1]: Building Debug Bytecode Archive libprofile_rt.bca (internalize)
0 llvm-ld 0x0000000000974854
1 llvm-ld 0x0000000000974db3
2 libpthread.so.0 0x00002aaaaacd6a80
3 llvm-ld 0x00000000006b68de llvm::Value::getValueID() const + 12
4 llvm-ld 0x00000000006b68fc bool llvm::isa_impl(llvm::Value const&) + 21
5 llvm-ld 0x00000000006ba616 llvm::isa_impl_wrap::doit(llvm::Value const&) + 21
6 llvm-ld 0x00000000006ba62d bool
llvm::isa_impl_cl::isa(llvm::Value const&) + 21
7 llvm-ld 0x00000000006ba644 bool llvm::isa_impl_cl::isa(llvm::Value const&) + 21
8 llvm-ld 0x00000000006ba65b bool llvm::isa_impl_cl::isa(llvm::Value const*) + 21
9 llvm-ld 0x00000000006ba675 bool llvm::isa(llvm::Value const* const&) + 24
10 llvm-ld 0x00000000006cb39f llvm::cast_retty::ret_type llvm::dyn_cast(llvm::Value const* const&) + 21
11 llvm-ld 0x00000000006d067a
12 llvm-ld 0x00000000006d0bd5
13 llvm-ld 0x00000000006d0bd5
14 llvm-ld 0x00000000006d1056
15 llvm-ld 0x00000000006d1210
16 llvm-ld 0x00000000006d4c51 llvm::Linker::LinkModules(llvm::Module*,
llvm::Module*, std::string*) + 1897
17 llvm-ld 0x00000000006ceff5
llvm::Linker::LinkInModule(llvm::Module*, std::string*) + 41
18 llvm-ld 0x00000000006ce56b llvm::Linker::LinkInFile(llvm::sys::Path
const&, bool&) + 1431
19 llvm-ld 0x00000000006cebf6
llvm::Linker::LinkInItems(std::vector,
std::allocator > > const&,
std::vector, std::allocator > >&) + 258
20 llvm-ld 0x00000000006a95c0 main + 1349
21 libc.so.6 0x00002aaaabaaf1a6 __libc_start_main + 230
22 llvm-ld 0x00000000006a05a9 __gxx_personality_v0 + 681
Stack dump:
0. Program arguments:
/localtmp/astifter/llvm/llvm-svn-debug-obj/Debug/bin/llvm-ld
-L/localtmp/astifter/llvm/llvm-van-install/bin/../lib
-internalize-public-api-file=/localtmp/astifter/llvm/llvm-svn/runtime/libprofile/exported_symbols.lst
-o
/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile/Debug/profile_rt.internalize
/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile/Debug/BasicBlockTracing.bc
/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile/Debug/BlockProfiling.bc
/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile/Debug/CommonProfiling.bc
/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile/Debug/EdgeProfiling.bc
/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile/Debug/FunctionProfiling.bc
/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile/Debug/OptimalEdgeProfiling.bc
make[1]: ***
[/localtmp/astifter/llvm/llvm-svn-debug-obj/Debug/lib/libprofile_rt.bca]
Segmentation fault
make[1]: Leaving directory
`/localtmp/astifter/llvm/llvm-svn-debug-obj/runtime/libprofile'
The system is "Linux 2.6.25-2-amd64 #1 SMP Mon Jul 14 11:05:23 UTC 2008 x86_64
GNU/Linux" with (almost) latest trunk llvm and llvm-gcc.
Andi
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 12:04:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 12:04:26 -0500
Subject: [LLVMbugs] [Bug 4870] Memory corruption in metadata something
something
In-Reply-To:
Message-ID: <200909031704.n83H4Qxj029478@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4870
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devang.patel at gmail.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from devang.patel 2009-09-03 12:04:26 ---
Fixed. rev. 80928.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 15:20:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 15:20:13 -0500
Subject: [LLVMbugs] [Bug 4875] llmv-ld is not able to link libprofile in
debug mode.
In-Reply-To:
Message-ID: <200909032020.n83KKDZ2023393@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4875
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devang.patel at gmail.com
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #11 from devang.patel 2009-09-03 15:20:12 ---
*** This bug has been marked as a duplicate of bug 4872 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 15:25:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 15:25:40 -0500
Subject: [LLVMbugs] [Bug 1415] Refactor debug/eh emission code.
In-Reply-To:
Message-ID: <200909032025.n83KPeff024239@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=1415
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devang.patel at gmail.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from devang.patel 2009-09-03 15:25:39 ---
Bill did refactoring in this area some time ago.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 15:36:28 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 15:36:28 -0500
Subject: [LLVMbugs] [Bug 4872] Bitcode linking of debug information fails
In-Reply-To:
Message-ID: <200909032036.n83KaScY025685@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4872
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devang.patel at gmail.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from devang.patel 2009-09-03 15:36:28 ---
Fixed. Revision 80941.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 18:47:11 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 18:47:11 -0500
Subject: [LLVMbugs] [Bug 4877] New: Assertion failed: (DbgNode && "Invalid
DIArray"), function getNumElements,
file /Volumes/Data/Users/ddunbar/llvm/lib/ Analysis/DebugInfo.cpp,
line 258.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4877
Summary: Assertion failed: (DbgNode && "Invalid DIArray"),
function getNumElements, file
/Volumes/Data/Users/ddunbar/llvm/lib/Analysis/DebugInfo.
cpp, line 258.
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu
Created an attachment (id=3426)
--> (http://llvm.org/bugs/attachment.cgi?id=3426)
It goes boom.
The attached bc asserts in llc:
--
ddunbar at giles:tmp$ llc t2.bc
Assertion failed: (DbgNode && "Invalid DIArray"), function getNumElements, file
/Volumes/Data/Users/ddunbar/llvm/lib/Analysis/DebugInfo.cpp, line 258.
0 llc 0x0000000100b85d65 PrintStackTrace(void*) + 38
1 llc 0x0000000100b862f3 SignalHandler(int) + 336
2 libSystem.B.dylib 0x00007fff8726214a _sigtramp + 26
3 libSystem.B.dylib 0x00007fff5fbfe1c0 _sigtramp + 3633954960
4 libSystem.B.dylib 0x00007fff872de104 __pthread_markcancel + 0
5 llc 0x0000000100a065ee llvm::DIArray::getNumElements() const
+ 64
6 llc 0x000000010083ab0f
llvm::DwarfDebug::ConstructTypeDIE(llvm::CompileUnit*, llvm::DIE&,
llvm::DICompositeType) + 565
7 llc 0x000000010083838f
llvm::DwarfDebug::AddType(llvm::CompileUnit*, llvm::DIE*, llvm::DIType) + 405
8 llc 0x00000001008393c2
llvm::DwarfDebug::CreateSubprogramDIE(llvm::CompileUnit*, llvm::DISubprogram
const&, bool, bool) + 548
9 llc 0x0000000100839bd0
llvm::DwarfDebug::ConstructSubprogram(llvm::MDNode*) + 126
10 llc 0x000000010083a4d6
llvm::DwarfDebug::BeginModule(llvm::Module*, llvm::MachineModuleInfo*) + 576
11 llc 0x0000000100856493
llvm::DwarfWriter::BeginModule(llvm::Module*, llvm::MachineModuleInfo*,
llvm::raw_ostream&, llvm::AsmPrinter*, llvm::MCAsmInfo const*) + 157
12 llc 0x000000010082dafc
llvm::AsmPrinter::doInitialization(llvm::Module&) + 806
13 llc 0x0000000100b02153
llvm::FPPassManager::doInitialization(llvm::Module&) + 65
14 llc 0x0000000100b02332
llvm::FunctionPassManagerImpl::doInitialization(llvm::Module&) + 58
15 llc 0x0000000100b0239b
llvm::FunctionPassManager::doInitialization() + 41
16 llc 0x000000010002e834 main + 3045
17 llc 0x000000010002d540 start + 52
18 llc 0x0000000000000002 start + 4294781686
Stack dump:
0. Program arguments: llc t2.bc
Abort trap
--
Derived from an llvm-gcc ICE on x86_64-pc-linux-gnu.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 20:56:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 20:56:29 -0500
Subject: [LLVMbugs] [Bug 3570] Mac OS X: Linking to llvm modifies behaviour
of abort()
In-Reply-To:
Message-ID: <200909040156.n841uTXR002010@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3570
Eric Christopher changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |echristo at gmail.com
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #3 from Eric Christopher 2009-09-03 20:56:29 ---
I can't reproduce this with either of my machines (both 10.6.0). Can anyone
cc'd still reproduce? Pull it out of worksforme if so, Thanks!
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Sep 3 23:29:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 3 Sep 2009 23:29:47 -0500
Subject: [LLVMbugs] [Bug 4879] New: strange failure with VLAs and debug info
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4879
Summary: strange failure with VLAs and debug info
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu
>From a user on IRC:
--
ddunbar at giles:tmp$ cat t.c
#include
#include
static void f0(const char * s, size_t len) {
char buf2[len];
memmove(buf2, s, len);
fprintf(stderr, "%s\n", buf2);
}
int main() {
const char a[] = "Hello, World!";
f0(a, sizeof a);
return 0;
}
ddunbar at giles:tmp$ clang -m64 t.c && ./a.out
Hello, World!
ddunbar at giles:tmp$ clang -g -m64 t.c && ./a.out
??.o"&???? ????_??
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 03:00:23 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 03:00:23 -0500
Subject: [LLVMbugs] [Bug 4880] New: Assertion in instruction selector
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4880
Summary: Assertion in instruction selector
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: gohman at apple.com, llvmbugs at cs.uiuc.edu
Created an attachment (id=3430)
--> (http://llvm.org/bugs/attachment.cgi?id=3430)
Testcase
Consider the attached testcase.
Running "./llc -combiner-alias-analysis -combiner-global-alias-analysis
bugpoint-reduced-simplified.bc" yields
llc: /home/asl/proj/llvm/src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:4925:
unsigned int llvm::SelectionDAG::AssignTopologicalOrder(): Assertion `SortedPos
== AllNodes.end() && "Topological sort incomplete!"' 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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 03:16:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 03:16:13 -0500
Subject: [LLVMbugs] [Bug 4881] New: LLVM does not compile libruntime,
opt problem.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4881
Summary: LLVM does not compile libruntime, opt problem.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: astifter-llvm at gmx.at
CC: llvmbugs at cs.uiuc.edu, astifter-llvm at gmx.at
The libruntime gets not build with the problem being that not even the
compilation from CommonProfiling.ll to CommonProfiling.bc does not work.
I have reduced it to
$> .../Debug/bin/llvm-as .../runtime/libprofile/Debug/CommonProfiling.ll -o
test.bc
$> .../Debug/bin/opt -std-compile-opts -o
.../runtime/libprofile/Debug/CommonProfiling.bc < test.bc
0 opt 0x0000000000b2df54
1 opt 0x0000000000b2e4b3
2 libpthread.so.0 0x00007ffff7bd4a80
3 opt 0x000000000074f3bc llvm::Value::getValueID() const + 12
4 opt 0x00000000008ed86d llvm::MDNode::classof(llvm::Value
const*) + 21
5 opt 0x00000000008ee050 bool llvm::isa_impl(llvm::Value const&) + 21
6 opt 0x00000000008ee067 llvm::isa_impl_wrap::doit(llvm::Value const&) + 21
7 opt 0x00000000008ee07e bool
llvm::isa_impl_cl::isa(llvm::Value const&) + 21
8 opt 0x00000000008ee095 bool
llvm::isa_impl_cl::isa(llvm::Value*) + 21
9 opt 0x0000000000a9d1f8 bool llvm::isa_impl_cl::isa(llvm::Value* const&) + 24
10 opt 0x0000000000a9d21c llvm::isa_impl_wrap::doit(llvm::WeakVH const&) + 34
11 opt 0x0000000000a9d233 bool
llvm::isa_impl_cl::isa(llvm::WeakVH const&) + 21
12 opt 0x0000000000a9d24a bool llvm::isa(llvm::WeakVH const&) + 21
13 opt 0x0000000000a9d3a3 llvm::cast_retty::ret_type llvm::cast(llvm::WeakVH
const&) + 21
14 opt 0x0000000000a9ad9e llvm::LLVMContext::RemoveDeadMetadata()
+ 222
15 opt 0x0000000000789686
16 opt 0x0000000000ab10ee
llvm::MPPassManager::runOnModule(llvm::Module&) + 382
17 opt 0x0000000000ab336b
llvm::PassManagerImpl::run(llvm::Module&) + 111
18 opt 0x0000000000ab33cd llvm::PassManager::run(llvm::Module&) +
33
19 opt 0x000000000075e678 main + 3674
20 libc.so.6 0x00007ffff6ce61a6 __libc_start_main + 230
21 opt 0x000000000074ecb9 __gxx_personality_v0 + 697
Stack dump:
0. Running pass 'Dead Global Elimination' on module ''.
Segmentation fault
Interesstingly this is not happening when opt gets the file on the command
line, not from stdin.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 04:25:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 04:25:31 -0500
Subject: [LLVMbugs] [Bug 4882] New: bus error in MemCpyOpt
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4882
Summary: bus error in MemCpyOpt
Product: new-bugs
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: critical
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: deeppatel1987 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3431)
--> (http://llvm.org/bugs/attachment.cgi?id=3431)
reduction
The attached crashes with opt -memcpyopt.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 06:43:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 06:43:36 -0500
Subject: [LLVMbugs] [Bug 4883] New: Codegen/X86-32: missed optimization on
first arg passing, unneccessary stack moves
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4883
Summary: Codegen/X86-32: missed optimization on first arg
passing, unneccessary stack moves
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
For intra-class method calls LLVM generates suboptimal code.
Consider this code:
class A {
public:
__attribute__((noinline)) int bar(int b) {
return b+4;
}
__attribute__((noinline)) int foo(int b) {
return bar(b*4);
}
__attribute__((noinline)) int foo() {
return bar(8);
}
};
A a;
int main()
{
return a.foo(4);
}
LLVM-G++ generates this at -O3 for foo:
ZN1A3fooEi:
pushl %ebp
movl %esp, %ebp
subl $8, %esp
movl 12(%ebp), %eax
shll $2, %eax
movl %eax, 4(%esp)
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZN1A3barEi
addl $8, %esp
popl %ebp
ret
_ZN1A4foo2Ev:
pushl %ebp
movl %esp, %ebp
subl $8, %esp
movl 8(%ebp), %eax
movl %eax, (%esp)
movl $8, 4(%esp)
call _ZN1A3barEi
addl $8, %esp
popl %ebp
ret
_ZN1A4foo3Eii:
pushl %ebp
movl %esp, %ebp
subl $8, %esp
movl 16(%ebp), %eax
addl 12(%ebp), %eax
movl %eax, 4(%esp)
movl 8(%ebp), %eax
movl %eax, (%esp)
call _ZN1A3barEi
addl $8, %esp
popl %ebp
ret
G++-4.3 generates this code:
_ZN1A4foo3Eii:
.LFB5:
pushl %ebp
.LCFI7:
movl %esp, %ebp
.LCFI8:
movl 16(%ebp), %eax
addl %eax, 12(%ebp)
popl %ebp
jmp _ZN1A3barEi
_ZN1A4foo2Ev:
.LFB4:
pushl %ebp
.LCFI4:
movl %esp, %ebp
.LCFI5:
subl $8, %esp
.LCFI6:
movl 8(%ebp), %eax
movl $8, 4(%esp)
movl %eax, (%esp)
call _ZN1A3barEi
leave
ret
_ZN1A4foo3Eii:
.LFB5:
pushl %ebp
.LCFI7:
movl %esp, %ebp
.LCFI8:
movl 16(%ebp), %eax
addl %eax, 12(%ebp)
popl %ebp
jmp _ZN1A3barEi
With LLVM there are a lot of unnecessary stack moves.
This doesn't occur on x86-64 because args are passed in registers.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 07:35:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 07:35:43 -0500
Subject: [LLVMbugs] [Bug 4884] New: function attributes of template methods
of template classes are ignored
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4884
Summary: function attributes of template methods of template
classes are ignored
Product: tools
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-g++
AssignedTo: unassignedbugs at nondot.org
ReportedBy: torvald at se.inf.tu-dresden.de
CC: llvmbugs at cs.uiuc.edu
test case:
template X bar(X x) __attribute__((noinline));
template X bar(X x) { return x + 1; }
template class Bar {
public:
S s;
Bar() : s(1) {}
template X bar(X x) __attribute__((noinline));
};
template
template X Bar::bar(X x) { return x + 1 + s; }
int test()
{
int a = bar((int)1);
Bar bar;
int b = bar.bar((int)1);
return a + b;
}
llvm-g++ -emit-llvm -o foo.bc foo.cpp -O3 -c yields:
efine i32 @_Z4testv() nounwind {
entry:
%0 = tail call i32 @_Z3barIiET_S0_(i32 1) nounwind ; [#uses=1]
%1 = add nsw i32 %0, 3 ; [#uses=1]
ret i32 %1
}
define linkonce_odr i32 @_Z3barIiET_S0_(i32 %x) nounwind readnone noinline {
entry:
%0 = add nsw i32 %x, 1 ; [#uses=1]
ret i32 %0
}
Bar::bar isn't marked as noinline. Likewise, there is no compiler warning
when using non-existing function attributes. It does seem to work for the
template function, though.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 09:50:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 09:50:50 -0500
Subject: [LLVMbugs] [Bug 4885] New: Warnings from compiling llvm with icc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4885
Summary: Warnings from compiling llvm with icc
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: idadesub at users.sourceforge.net
CC: llvmbugs at cs.uiuc.edu
This bug is to track fixing the icc warnings. I'll be putting together a patch
to fix these. Here are the current ones:
-----------------------
/scratch/llvm/llvm/lib/Support/regcomp.c(259): warning #592: variable
"prevback" is used before its value is set
sopno prevback = prevback;
^
-----------------------
/scratch/llvm/llvm/lib/Target/ARM/ARMJITInfo.cpp(202): warning #69: integer
conversion resulted in truncation
JCE.emitWordLE((intptr_t)ARMCompilationCallback);
-----------------------
http://software.intel.com/en-us/articles/cdiag111/
/scratch/llvm/llvm/lib/System/Mutex.cpp(119): remark #111: statement is
unreachable
return false;
^
Not sure what to do about this one, it looks like icc is inlining the
"pthread_enabled", and then seeing that there's no possible way to reach the
"return false" in:
bool
MutexImpl::release()
{
if (pthread_enabled)
{
pthread_mutex_t* mutex = static_cast(data_);
assert(mutex != 0);
int errorcode = pthread_mutex_unlock(mutex);
return errorcode == 0;
}
return false;
}
-----------------------
/scratch/llvm/llvm/include/llvm/Support/Registry.h(80): warning #1170: invalid
redeclaration of nested class
class iterator;
^
This one's a simple fix, "class iterator" is listed twice.
-----------------------
http://software.intel.com/en-us/articles/cdiag1418/
/scratch/llvm/llvm/include/llvm/Support/CommandLine.h(307): remark #1418:
external function definition with no prior declaration
LocationClass location(Ty &L) { return LocationClass(L); }
this one is happening because the warning level is high enough to give
stylistic suggestions. This one is saying that you should declare functions
before implementing them, even if they're in a .h file.
-----------------------
http://software.intel.com/en-us/articles/cdiag1419/
/scratch/llvm/llvm/lib/Support/Timer.cpp(26): remark #1419: external
declaration in primary source file
namespace llvm { extern raw_ostream *GetLibSupportInfoOutputFile(); }
^
-----------------------
http://software.intel.com/en-us/articles/cdiag1572/
/scratch/llvm/llvm/lib/Support/Timer.cpp(291): remark #1572: floating-point
equality and inequality comparisons are unreliable
if (Total.UserTime)
^
For Timer.cpp, I could replace these with "if (Total.UserTime > 0)", but that
reads weird to me. There are a lot of these warnings though.
-----------------------
http://software.intel.com/en-us/articles/cdiag177/
/scratch/llvm/llvm/lib/System/DynamicLibrary.cpp(33): remark #177: variable
"Dummy" was declared but never referenced
} Dummy;
^
This is an easy fix, since this is a c++ file and doesn't need the trailing
name for the struct.
http://software.intel.com/en-us/articles/cdiag177/
/scratch/llvm/llvm/lib/Support/APInt.cpp(1484): remark #177: variable "allOnes"
was declared but never referenced
APInt allOnes = APInt::getAllOnesValue(d.getBitWidth());
^
/scratch/llvm/llvm/lib/Support/APInt.cpp(1486): remark #177: variable
"signedMax" was declared but never referenced
APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth());
/scratch/llvm/llvm/utils/TableGen/FastISelEmitter.cpp(219): warning #177:
function "::FastISelMap::PrintClass" was declared but never referenced
void PrintClass(raw_ostream &OS);
^
/scratch/llvm/llvm/lib/VMCore/AsmWriter.cpp(1285): warning #177: function
"::AssemblyWriter::getModule" was declared but never referenced
const Module* getModule() { return TheModule; }
^
Also simple fixes.
-----------------------
http://software.intel.com/en-us/articles/cdiag1599/
/scratch/llvm/llvm/lib/Transforms/IPO/PruneEH.cpp(111): remark #1599:
declaration hides variable "E" (declared at line 100)
for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E;
++I)
We're getting a lot of these errors.
-----------------------
http://software.intel.com/en-us/articles/cdiag1128/
/scratch/llvm/llvm/lib/System/DynamicLibrary.cpp(28): warning #1128: a storage
class may not be specified here
static struct ExplicitSymbolsDeleter {
^
Does this do anything? If not, I'll remove it.
-----------------------
http://software.intel.com/en-us/articles/cdiag1128/
/scratch/llvm/llvm/lib/System/Unix/Signals.inc(229): remark #181: argument is
incompatible with corresponding format string conversion
fprintf(stderr, " + %tu",(char*)StackTrace[i]-(char*)dlinfo.dli_saddr);
-----------------------
I'll post more in a bit.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 10:45:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 10:45:06 -0500
Subject: [LLVMbugs] [Bug 4886] New: [2.6] Master 2.6 bug
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4886
Summary: [2.6] Master 2.6 bug
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tonic at nondot.org
CC: llvmbugs at cs.uiuc.edu
This bug is to track all regressions for 2.6.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 11:55:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 11:55:25 -0500
Subject: [LLVMbugs] [Bug 4887] New: [2.6] test/Driver/hello.c fails
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4887
Summary: [2.6] test/Driver/hello.c fails
Product: new-bugs
Version: 2.6
Platform: Other
OS/Version: OpenBSD
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jsg at openbsd.org
CC: llvmbugs at cs.uiuc.edu
"/usr/users/jsg/src/llvm-2.6/Release/bin/clang-cc" -triple
x86_64-unknown-openbsd4.6 -S -disable-free -main-file-name hello.c
--relocation-model static --di
sable-fp-elim --unwind-tables=1 --mcpu=x86-64 --fmath-errno=1
-fdiagnostics-show-option -o /tmp/cc-gRHCxp.s -x c
/usr/users/jsg/src/llvm-2.6/tools/clang/test
/Driver/hello.c
"/usr/bin/as" -o /tmp/cc-ODqStn.o /tmp/cc-gRHCxp.s
"/usr/bin/ld" -e __start --eh-frame-hdr -Bdynamic -dynamic-linker
/usr/libexec/ld.so -o
/usr/users/jsg/src/llvm-2.6/tools/clang/test/Output/Driver/hello.c.t
mp /usr/lib/crt0.o /usr/lib/crtbegin.o
-L/usr/lib/gcc-lib/x86_64-unknown-openbsd4.6/3.3.5 /tmp/cc-ODqStn.o -lgcc -lc
-lgcc /usr/lib/crtend.o
/usr/bin/ld: cannot find -lgcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The path
/usr/lib/gcc-lib/x86_64-unknown-openbsd4.6/3.3.5 is wrong and does not exist
/usr/lib/gcc-lib/amd64-unknown-openbsd4.6/3.3.5 exists and should be used
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 12:06:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 12:06:05 -0500
Subject: [LLVMbugs] [Bug 4888] New: [2.6] test/CodeGen/pragma-weak.c fails
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4888
Summary: [2.6] test/CodeGen/pragma-weak.c fails
Product: new-bugs
Version: 2.6
Platform: Other
OS/Version: OpenBSD
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jsg at openbsd.org
CC: llvmbugs at cs.uiuc.edu
2.6 pre-release 1, compiled with gcc 4.2.4 on OpenBSD/amd64.
Exit Code: 1
Command Output (stdout):
--
count: expected 1 lines and got 0.
--
Command Output (stderr):
--
/usr/users/jsg/src/llvm-2.6/tools/clang/test/CodeGen/pragma-weak.c:40:14:
warning: weak identifier '__unused_alias' never
declared
#pragma weak unused_alias = __unused_alias // expected-warning {{weak
identifier '__unused_alias' never declared}}
^
/usr/users/jsg/src/llvm-2.6/tools/clang/test/CodeGen/pragma-weak.c:39:14:
warning: weak identifier 'unused' never declared
#pragma weak unused // expected-warning {{weak identifier 'unused' never
declared}}
^
/usr/users/jsg/src/llvm-2.6/tools/clang/test/CodeGen/pragma-weak.c:42:14:
warning: weak identifier 'td' never declared
#pragma weak td // expected-warning {{weak identifier 'td' never declared}}
^
/usr/users/jsg/src/llvm-2.6/tools/clang/test/CodeGen/pragma-weak.c:11:14:
warning: weak identifier 'param' never declared
#pragma weak param // expected-warning {{weak identifier 'param' never
declared}}
^
/usr/users/jsg/src/llvm-2.6/tools/clang/test/CodeGen/pragma-weak.c:45:14:
warning: weak identifier '__td2' never declared
#pragma weak td2 = __td2 // expected-warning {{weak identifier '__td2' never
declared}}
^
5 diagnostics generated.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 12:31:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 12:31:43 -0500
Subject: [LLVMbugs] [Bug 4889] New: loop-unswitch assertion fails: " Cannot
change null node pointers!"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4889
Summary: loop-unswitch assertion fails: "Cannot change null node
pointers!"
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Loop Optimizer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: bob.wilson at apple.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3432)
--> (http://llvm.org/bugs/attachment.cgi?id=3432)
testcase
There were 3 regressions in the armv6 nightly tester last night, and all of
them appear to be caused by this same problem. I have verified that it still
occurs in llvm trunk and reduced a testcase with bugpoint. (The
bugpoint-reduced-simplified output exposed a different failure, so the testcase
is the bugpoint-reduced-function version.)
To reproduce:
$ opt bugpoint-reduced-function.bc -loop-unswitch > out.bc
Assertion failed: (N && NewIDom && "Cannot change null node pointers!"),
function changeImmediateDominator, file
/Users/bwilson/local/llvm/llvm/include/llvm/Analysis/Dominators.h, line 490.
0 opt 0x003f8ef4 PrintStackTrace(void*) + 45
1 opt 0x003f94fc SignalHandler(int) + 410
2 libSystem.B.dylib 0x98115bfb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1743692847
4 libSystem.B.dylib 0x981a3ba5 raise + 26
5 libSystem.B.dylib 0x981b9c5c abort + 93
6 libSystem.B.dylib 0x981a6804 __pthread_markcancel + 0
7 opt 0x00335369
llvm::DominatorTreeBase::changeImmediateDominator(llvm::DomTreeNodeBase*,
llvm::DomTreeNodeBase*) + 85
8 opt 0x001d8a4f void
llvm::DominatorTreeBase::Split
>(llvm::DominatorTreeBase::NodeType>&,
llvm::GraphTraits::NodeType*) + 897
9 opt 0x00335fc1
llvm::DominatorTreeBase::splitBlock(llvm::BasicBlock*) + 69
10 opt 0x001bc033
llvm::DominatorTree::splitBlock(llvm::BasicBlock*) + 27
11 opt 0x001bac2b
llvm::SplitBlockPredecessors(llvm::BasicBlock*, llvm::BasicBlock* const*,
unsigned int, char const*, llvm::Pass*) + 544
12 opt 0x0015d6c7 (anonymous
namespace)::LoopUnswitch::SplitExitEdges(llvm::Loop*,
llvm::SmallVector const&) + 229
13 opt 0x0015df30 (anonymous
namespace)::LoopUnswitch::UnswitchNontrivialCondition(llvm::Value*,
llvm::Constant*, llvm::Loop*) + 692
14 opt 0x0015eec8 (anonymous
namespace)::LoopUnswitch::UnswitchIfProfitable(llvm::Value*, llvm::Constant*) +
538
15 opt 0x0015f0dd (anonymous
namespace)::LoopUnswitch::processCurrentLoop() + 229
16 opt 0x0015f3e4 (anonymous
namespace)::LoopUnswitch::runOnLoop(llvm::Loop*, llvm::LPPassManager&) + 206
17 opt 0x002584b2
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1026
18 opt 0x003891a7
llvm::FPPassManager::runOnFunction(llvm::Function&) + 297
19 opt 0x00389356
llvm::FPPassManager::runOnModule(llvm::Module&) + 84
20 opt 0x00387390
llvm::MPPassManager::runOnModule(llvm::Module&) + 378
21 opt 0x003895da llvm::PassManagerImpl::run(llvm::Module&) +
112
22 opt 0x00389631 llvm::PassManager::run(llvm::Module&) + 27
23 opt 0x0005cdb6 main + 4337
24 opt 0x00050ff1 start + 53
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 15:11:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 15:11:13 -0500
Subject: [LLVMbugs] [Bug 4890] New: Assert when generating debug info for
C++ destructor
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4890
Summary: Assert when generating debug info for C++ destructor
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: dgregor at apple.com
CC: llvmbugs at cs.uiuc.edu
Given dtor.cpp:
struct X {
~X();
};
X::~X() { }
clang -c dtor.cpp -g produces:
Assertion failed: (!isa(D) && "Use mangleCXXDtor for
destructor decls!"), function mangleName, file
/Volumes/Data/dgregor/Projects/llvm/tools/clang/lib/CodeGen/Mangle.cpp, line
847.
Stack dump:
0. Program arguments:
/Volumes/Data/dgregor/Projects/llvm-build-xcode/bin/Debug/clang-cc -triple
i386-apple-darwin10 -S -disable-free -main-file-name dtor.cpp
--relocation-model pic -pic-level=1 --disable-fp-elim --unwind-tables=0
--mcpu=yonah --fmath-errno=0 -mmacosx-version-min=10.6.0 -g
-fdiagnostics-show-option -o
/var/folders/4o/4oX0yyc9FZ0tdikPS5odWE+++TI/-Tmp-/cc-lyMxzB.s -x c++ dtor.cpp
1. parser at end of file
2. dtor.cpp:5:4: LLVM IR generation of declaration 'X::~X'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 15:29:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 15:29:50 -0500
Subject: [LLVMbugs] [Bug 4891] New: Backend producing incorrect code for
aliased buffers
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4891
Summary: Backend producing incorrect code for aliased buffers
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benedict.gaster at amd.com
CC: llvmbugs at cs.uiuc.edu
When compiling the following program it is producing incorrect x86 code.
//foo.c
#include
#include
size_t global_id[4];
size_t get_index(unsigned int dimidx)
{
return global_id[dimidx];
}
typedef short short2 __attribute__ ((vector_size (4)));
union _X {
short2 s;
int i;
};
typedef union _X X;
inline short2 as_short2(int x)
{
X result;
result.i = x;
return result.s;
}
inline int as_int(short2 x)
{
X result;
result.s = x;
return result.i;
}
void short2_int_swap(
short2* b,
int* c)
{
int gidx = get_index(0);
short2 bval = b[gidx];
int cval = c[gidx];
b[gidx] = as_short2(cval);
c[gidx] = as_int(bval);
}
Compiling with TOT or 2.6 with:
llvm-gcc -O3 -S foo.c
Gives the assembler for short2_int_swap:
.align 16
.globl short2_int_swap
.type short2_int_swap, at function
short2_int_swap:
.Leh_func_begin4:
movslq global_id(%rip), %rax
movl (%rsi,%rax,4), %ecx
movl %ecx, (%rdi,%rax,4)
movl (%rdi,%rax,4), %ecx
movl %ecx, (%rsi,%rax,4)
ret
.size short2_int_swap, .-short2_int_swap
.Leh_func_end4:
It looks like an edge is bring droped and thus leading to incorrect code.
Compiling the same code with gcc 4.3.3:
gcc -O3 -S foo.c
gives
globl short2_int_swap
.type short2_int_swap, @function
short2_int_swap:
.LFB9:
movslq global_id(%rip),%rax
salq $2, %rax
addq %rax, %rdi
addq %rax, %rsi
movl (%rdi), %edx
movl (%rsi), %eax
movl %edx, (%rsi)
movl %eax, (%rdi)
ret
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 16:32:23 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 16:32:23 -0500
Subject: [LLVMbugs] [Bug 4877] globaldce : Assertion failed: (DbgNode &&
"Invalid DIArray"), function getNumElements,
file /Volumes/Data/Users/ddunbar/llvm/lib/ Analysis/DebugInfo.cpp,
line 258.
In-Reply-To:
Message-ID: <200909042132.n84LWNPp007189@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4877
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from devang.patel 2009-09-04 16:32:23 ---
Fixed in rev. 81045.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 17:04:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 17:04:03 -0500
Subject: [LLVMbugs] [Bug 4892] New: templates and friends cause false
positive complaints
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4892
Summary: templates and friends cause false positive complaints
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jreiser at BitWagon.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3433)
--> (http://llvm.org/bugs/attachment.cgi?id=3433)
gzipped, pre-processed C++ source code
I get many false positive complaints (hundreds per file) that appear to be
caused by templates and friend classes in C++. This obscures any potential
benefits of using the tools.
The attached file is compressed with gzip after being generated by "g++ -E
p_mach.cpp" with the correct -I options, etc. The original source is available
from https://www.pysol.org:4443/hg/upx.hg .
The incorrect complaints start with:
-----
$ /usr/local/llvm/libexec/clang-cc -fsyntax-only foo.cxx
p_mach.cpp:85:5: error: use of undeclared identifier 'bele'
bele = N_BELE_CTP::getRTP((const BeLePolicy*) __null);
^
p_mach.cpp:168:5: error: no matching function for call to 'addLoader'
addLoader("MACOS000", __null);
^~~~~~~~~
p_mach.cpp:171:13: error: use of undeclared identifier 'ph'
( ((ph.method) >= 8 && (ph.method) <= 10) ? "NRV_HEAD,NRV2E,NRV_TAIL"
^
p_mach.cpp:176:9: error: no matching function for call to 'hasLoaderSection'
if (hasLoaderSection("CFLUSH"))
^~~~~~~~~~~~~~~~
p_mach.cpp:177:9: error: no matching function for call to 'addLoader'
addLoader("CFLUSH");
^~~~~~~~~
p_mach.cpp:178:5: error: no matching function for call to 'addLoader'
addLoader("ELFMAINY,IDENTSTR,+40,ELFMAINZ,FOLDEXEC", __null);
^~~~~~~~~
p_mach.cpp:290:5: error: no matching function for call to 'initLoader'
initLoader(proto, szproto);
^~~~~~~~~~
p_mach.cpp:296:34: error: use of undeclared identifier 'ph'
h.b_method = (unsigned char) ph.method;
^
p_mach.cpp:297:32: error: use of undeclared identifier 'ph'
h.b_ftid = (unsigned char) ph.filter;
^
p_mach.cpp:298:32: error: use of undeclared identifier 'ph'
h.b_cto8 = (unsigned char) ph.filter_cto;
^
p_mach.cpp:306:17: error: use of undeclared identifier 'ph'
__null, ph.method, 10, __null, __null );
^
p_mach.cpp:314:5: error: use of undeclared identifier 'linker'
linker->addSection("FOLDEXEC", cprLoader, sizeof(h) + h.sz_cpr, 0);
^
p_mach.cpp:324:5: error: no matching function for call to 'relocateLoader'
relocateLoader();
^~~~~~~~~~~~~~
p_mach.cpp:384:32: error: no matching function for call to 'getLoader'
unsigned char *const ptr = getLoader();
^~~~~~~~~
p_mach.cpp:389:36: error: use of undeclared identifier 'lsize'
lp->l_lsize = (unsigned short) lsize;
^
-----
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 19:34:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 19:34:48 -0500
Subject: [LLVMbugs] [Bug 4879] strange failure with VLAs and debug info
In-Reply-To:
Message-ID: <200909050034.n850YmDC030941@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4879
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devang.patel at gmail.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from devang.patel 2009-09-04 19:34:48 ---
Fixed in rev 81058.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 20:09:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 20:09:25 -0500
Subject: [LLVMbugs] [Bug 4845] [2.6] crashing inside JITed code when running
on x86_64
In-Reply-To:
Message-ID: <200909050109.n8519PlP002994@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4845
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #17 from Daniel Dunbar 2009-09-04 20:09:25 ---
This should be fixed now.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 20:35:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 20:35:57 -0500
Subject: [LLVMbugs] [Bug 4877] globaldce : Assertion failed: (DbgNode &&
"Invalid DIArray"), function getNumElements,
file /Volumes/Data/Users/ddunbar/llvm/lib/ Analysis/DebugInfo.cpp,
line 258.
In-Reply-To:
Message-ID: <200909050135.n851Zv0S006782@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4877
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #8 from Daniel Dunbar 2009-09-04 20:35:57 ---
The self host build on the public buildbot is still failing because of the same
or a similar problem.
Current build setup is: llvm (debug) -> llvm-gcc (using system gcc) -> llvm
(release, using first llvm-gcc) -> llvm-gcc (using first llvm-gcc)
and one test is failing in the second llvm build step, and second llvm-gcc buid
is failing.
Attaching failing .bc input, which crashes with opt -std-compile-opts on that
builder (using either the first or second llvm opt binary).
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 20:58:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 20:58:49 -0500
Subject: [LLVMbugs] [Bug 4892] templates and friends cause false positive
complaints
In-Reply-To:
Message-ID: <200909050158.n851wnhs009823@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4892
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel at zuster.org
Status|NEW |RESOLVED
Resolution| |LATER
--- Comment #1 from Daniel Dunbar 2009-09-04 20:58:48 ---
Clang does not yet have officially supported C++ support. Bugs for small
isolated features -- generally when the feature already seems to largely work
-- are still useful, but we are not yet to the point of accepting bugs for
general code compiled with C++.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Sep 4 21:31:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 4 Sep 2009 21:31:48 -0500
Subject: [LLVMbugs] [Bug 4894] New: Crash while emitting debug information
for complex Objective-C classes
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4894
Summary: Crash while emitting debug information for complex
Objective-C classes
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: csdavec at swan.ac.uk
CC: llvmbugs at cs.uiuc.edu
At some point during compilation of the attached preprocessed source file, the
stack-allocated FwdDecl instance's DbgNode pointer becomes dangling, causing a
crash when it is dereferenced, with the following stack trace:
#0 0x0818f3d5 in llvm::Type::getForwardedType (this=0x5a5a5a5a) at Type.h:302
#1 0x0818f66f in llvm::PATypeHolder::get (this=0x29cdeb48) at Type.h:435
#2 0x0818f6bd in llvm::PATypeHolder::operator llvm::Type* (this=0x29cdeb48) at
AbstractTypeUser.h:151
#3 0x0818f6f0 in llvm::Value::getType (this=0x29cdeb40) at Value.h:103
#4 0x0915df8d in llvm::Value::replaceAllUsesWith (this=0x29cdeb40,
New=0x29ceabc0) at Value.cpp:326
#5 0x0903c81e in llvm::DIDerivedType::replaceAllUsesWith (this=0xbfbfbb80,
D=@0xbfbfbb78) at DebugInfo.cpp:270
#6 0x081beee0 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29b9c1d0, Unit=@0xbfbfbd04) at CGDebugInfo.cpp:642
#7 0x081bcf61 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 700039632}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfbe20) at CGDebugInfo.cpp:783
#8 0x081c16a6 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29b9c228, Unit=@0xbfbfbeb4) at CGDebugInfo.cpp:205
#9 0x081bced4 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 700039720}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfc108) at CGDebugInfo.cpp:781
#10 0x081be9c3 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29a953e0, Unit=@0xbfbfc224) at CGDebugInfo.cpp:580
#11 0x081bcf61 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 698962912}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfc340) at CGDebugInfo.cpp:783
#12 0x081c16a6 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29a95438, Unit=@0xbfbfc3d4) at CGDebugInfo.cpp:205
#13 0x081bced4 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 698963000}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfc628) at CGDebugInfo.cpp:781
#14 0x081be9c3 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29a95008, Unit=@0xbfbfc744) at CGDebugInfo.cpp:580
#15 0x081bcf61 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 698961928}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfc960) at CGDebugInfo.cpp:783
#16 0x081be79c in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29a84328, Unit=@0xbfbfcaa4) at CGDebugInfo.cpp:566
#17 0x081bcf61 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 698893096}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfcbc0) at CGDebugInfo.cpp:783
#18 0x081c16a6 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29a84380, Unit=@0xbfbfcc54) at CGDebugInfo.cpp:205
#19 0x081bced4 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 698893184}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfcea8) at CGDebugInfo.cpp:781
#20 0x081be9c3 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29cd04a8, Unit=@0xbfbfcfc4) at CGDebugInfo.cpp:580
#21 0x081bcf61 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 701301928}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfd0e0) at CGDebugInfo.cpp:783
#22 0x081c16a6 in clang::CodeGen::CGDebugInfo::CreateType (this=0x29730780,
Ty=0x29cd04e8, Unit=@0xbfbfd174) at CGDebugInfo.cpp:205
#23 0x081bced4 in clang::CodeGen::CGDebugInfo::getOrCreateType
(this=0x29730780, Ty={Value = {Value = 701301992}, static MaxAddressSpace =
16777215}, Unit=@0xbfbfd2a4) at CGDebugInfo.cpp:781
#24 0x081bdc16 in clang::CodeGen::CGDebugInfo::EmitDeclare (this=0x29730780,
Decl=0x29cd0540, Tag=257, Storage=0x29cd818c, Builder=@0xbfbfd694) at
CGDebugInfo.cpp:904
#25 0x081bddea in clang::CodeGen::CGDebugInfo::EmitDeclareOfArgVariable
(this=0x29730780, Decl=0x29cd0540, AI=0x29cd818c, Builder=@0xbfbfd694) at
CGDebugInfo.cpp:934
#26 0x081c766d in clang::CodeGen::CodeGenFunction::EmitParmDecl
(this=0xbfbfd610, D=@0x29cd0540, Arg=0x29cd91e0) at CGDecl.cpp:521
#27 0x081b7a4c in clang::CodeGen::CodeGenFunction::EmitFunctionProlog
(this=0xbfbfd610, FI=@0x29c148f0, Fn=0x29cda1a0, Args=@0xbfbfd4e0) at
CGCall.cpp:580
#28 0x08237823 in clang::CodeGen::CodeGenFunction::StartFunction
(this=0xbfbfd610, D=0x29cd0460, RetTy={Value = {Value = 695829456}, static
MaxAddressSpace = 16777215}, Fn=0x29cda1a0,
Args=@0xbfbfd4e0, StartLoc={ID = 823520}) at CodeGenFunction.cpp:189
#29 0x081f7cf4 in clang::CodeGen::CodeGenFunction::StartObjCMethod
(this=0xbfbfd610, OMD=0x29cd0460, CD=0x29ccc150) at CGObjC.cpp:122
#30 0x081f8ef5 in clang::CodeGen::CodeGenFunction::GenerateObjCMethod
(this=0xbfbfd610, OMD=0x29cd0460) at CGObjC.cpp:131
#31 0x08181516 in clang::CodeGen::CodeGenModule::EmitTopLevelDecl
(this=0x2970dc00, D=0x29cd0460) at CodeGenModule.cpp:1699
#32 0x0817b240 in HandleTopLevelDecl (this=0x297066c0, DG={D = 0x29cd0460}) at
ModuleBuilder.cpp:67
#33 0x080973f0 in HandleTopLevelDecl (this=0x29786100, D={D = 0x29cd0460}) at
Backend.cpp:130
#34 0x08336353 in clang::ParseAST (PP=@0x297581c0, Consumer=0x29786100,
Ctx=@0x2978c400, PrintStats=false, CompleteTranslationUnit=true) at
ParseAST.cpp:70
#35 0x0806fd8a in ProcessInputFile (PP=@0x297581c0, PPF=@0xbfbfe414,
InFile=@0x297070e0, PA=EmitAssembly, Features=@0xbfbfe440, Context=@0x297070ac)
at clang-cc.cpp:2084
#36 0x08071af0 in main (argc=20, argv=0xbfbfe540) at clang-cc.cpp:2355
This occurs while emitting the type information for the self implicit argument
in the first method of the class. The class itself has a number of instance
variables which refer to other classes, so the problem may be related different
classes at different depths in this structure referring to each other, so that
the debug node forward declaration is already replaced by something else by the
time this is reached.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 00:14:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 00:14:47 -0500
Subject: [LLVMbugs] [Bug 4895] New: Missed phi/phi/select folding opportunity
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4895
Summary: Missed phi/phi/select folding opportunity
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: other
Status: NEW
Severity: minor
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: me22.ca at gmail.com
CC: llvmbugs at cs.uiuc.edu
I compiled the following C++ code with bitter melon on 2009-09-05T05:00Z with
LTO enabled:
#include
int main() {
std::set s;
if (s.find(0) != s.end()) return *s.find(0);
}
This resulted in this basic block (among others):
_ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEED1Ev.exit: ; preds
= %invcont2, %invcont1
%.0 = phi i32 [ %29, %invcont2 ], [ undef, %invcont1 ] ;
[#uses=1]
%finally_tmp.74.0 = phi i1 [ true, %invcont2 ], [ false, %invcont1 ]
; [#uses=1]
%.1 = select i1 %finally_tmp.74.0, i32 %.0, i32 0 ;
[#uses=1]
ret i32 %.1
Which, which names shortened, looks like this:
%.0 = phi i32 [%29, %A], [undef, %B]
%t = phi i1 [true, %A], [false, %B]
%.1 = select i1 %t, i32 %.0, i32 0
ret i32 %.1
Selecting on the result of a phi[true][false] seems strange to me, as AFAIK it
could have simply been written like this:
%.0 = phi i32 [%29, %A], [0, %B]
ret i32 %.0
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 01:11:20 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 01:11:20 -0500
Subject: [LLVMbugs] [Bug 4897] New: [2.6] clang doesn' t search CWD for
include files when reading from stdin
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4897
Summary: [2.6] clang doesn't search CWD for include files when
reading from stdin
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Perl's t/comp/cpp fails, when using clang:
1..3
ok 1
ok 2
:2:10: fatal error: 'Comp_cpp.inc' file not found
#include "Comp_cpp.inc"
^
1 diagnostic generated.
not ok 3
This is because the following command gives an error:
$ clang -E -C -I/usr/local/lib/perl5/5.10.0 - :2:10: fatal error: 'Comp_cpp.inc' file not found
#include "Comp_cpp.inc"
^
# 1 ""
# 1 "" 1
# 1 "" 1
# 1 "" 3
# 105 "" 3
# 105 "" 1
# 1 "" 2
$ok = "not ok 3\n";
print $ok;
1 diagnostic generated.
Running this with llvm-gcc or gcc works:
clang -E -C -I/usr/local/lib/perl5/5.10.0 - :2:10: fatal error: 'Comp_cpp.inc' file not found
#include "Comp_cpp.inc"
^
# 1 ""
# 1 "" 1
# 1 "" 1
# 1 "" 3
# 105 "" 3
# 105 "" 1
# 1 "" 2
$ok = "not ok 3\n";
print $ok;
1 diagnostic generated.
Comp_cpp.inc is in the current directory, and contains this:
#define OK "ok 3\n"
This is not due to -I and -C, even clang -E -
http://llvm.org/bugs/show_bug.cgi?id=4898
Summary: llvm-gcc: fails to link ARCH=um Linux kernel undefined
reference to `__bad_size'
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ make CC=llvm-gcc HOSTCC=llvm-gcc ARCH=um defconfig
$ make CC=llvm-gcc HOSTCC=llvm-gcc ARCH=um
mm/built-in.o: In function `kmem_cache_init':
/home/edwin/builds/linux-2.6/mm/slab.c:343: undefined reference to `__bad_size'
/home/edwin/builds/linux-2.6/mm/slab.c:343: undefined reference to `__bad_size'
/home/edwin/builds/linux-2.6/mm/slab.c:343: undefined reference to `__bad_size'
/home/edwin/builds/linux-2.6/mm/slab.c:1461: undefined reference to
`__bad_size'
/home/edwin/builds/linux-2.6/mm/slab.c:1461: undefined reference to
`__bad_size'
mm/built-in.o:/home/edwin/builds/linux-2.6/mm/slab.c:1517: more undefined
references to `__bad_size' follow
collect2: ld returned 1 exit status
This is usually due to not inlining something the kernel expected to inline,
thus __builtin_constant_p() returning false.
Will try to attach a testcase.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 02:10:11 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 02:10:11 -0500
Subject: [LLVMbugs] [Bug 4899] New: clang: __builtin_longjmp not supported
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4899
Summary: clang: __builtin_longjmp not supported
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
valgrind 3.4.1 doesn't compile:
m_signals.c:1435:7: error: cannot compile this builtin function yet
__builtin_longjmp(tst->sched_jmpbuf, True);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 03:40:11 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 03:40:11 -0500
Subject: [LLVMbugs] [Bug 4900] New: clang: blender 2.49b renders wrong image
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4900
Summary: clang: blender 2.49b renders wrong image
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3449)
--> (http://llvm.org/bugs/attachment.cgi?id=3449)
compare-blender.sh
I built blender using gcc, llvm-gcc and clang (in objgcc, obj, objclang dirs
respectively), doing something like:
export CC=llvm-gcc CXX=llvm-g++
cmake ../blender-2.49b CC=llvm-gcc CXX=llvm-g++
make -j8
Then I wrote a script to render .blend files with 2 blenders and compare
outputs (compare-blender.sh attached).
Running it on the blender 2.49 regression files from blender.org I got some
failures:
Render of ./teapot_soft.blend is not exact
Image Difference (MeanSquaredError):
Normalized Absolute
============ ==========
Red: 0.0000081281 0.0
Green: 0.0000084478 0.0
Blue: 0.0000151673 0.0
Total: 0.0000105811 0.0
Checking whether reference render is deterministic ...Yes
When the script finds a different render, it reruns the render with the
reference blender again, and checks whether the output is deterministic (for
some renders it is not).
For teapot_soft.blend the render with reference blender is deterministic, but
differs from the clang compiled blender.
When building it with llvm-gcc everything is OK for this particular render.
Attached are also the 2 images, and the output of:
gm compare -highlight-style Assign -file diff.miff file_ref0001.png
file_new0001.png
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 03:46:23 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 03:46:23 -0500
Subject: [LLVMbugs] [Bug 4901] New: llvm-ld: Segmentation fault running pass
' Dead Global Elimination'
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4901
Summary: llvm-ld: Segmentation fault running pass 'Dead Global
Elimination'
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sanxiyn at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3453)
--> (http://llvm.org/bugs/attachment.cgi?id=3453)
TRE agrep build script
llvm-ld segfaults while running the attached build script.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 06:27:45 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 06:27:45 -0500
Subject: [LLVMbugs] [Bug 3801] non- PIC-aware assembler code in X86 jit
In-Reply-To:
Message-ID: <200909051127.n85BRjdg030484@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3801
Corrado Zoccolo changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #15 from Corrado Zoccolo 2009-09-05 06:27:44 ---
(In reply to comment #9)
> What is the status of this patch? Is in TOT?
>
> If this is safe for 2.6, I'd like to know ASAP.
>
It was confirmed from many sources that the patch works correctly for both 32
and 64 bit linux, and fixes the issue. I think the problem reported by Anton
was just due an unclean build, so please include it in 2.6
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 11:12:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 11:12:03 -0500
Subject: [LLVMbugs] [Bug 4902] New: clang tries to free a global variable
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4902
Summary: clang tries to free a global variable
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Valgrind detected the following problem in several clang/test/CodeGenObjC
tests, for example objc2-assign-global.m. It is trying to free something
that wasn't malloced, the data symbol _ZNSs4_Rep20_S_empty_rep_storageE.
==750== Invalid free() / delete / delete[]
==750== at 0x4C24AEA: operator delete(void*) (vg_replace_malloc.c:346)
==750== by 0x41C52F: __gnu_cxx::new_allocator::deallocate(char*,
unsigned long) (new_allocator.h:95)
==750== by 0x418484: std::string::_Rep::_M_destroy(std::allocator
const&) (basic_string.tcc:427)
==750== by 0x414011: std::string::_Rep::_M_dispose(std::allocator
const&) (basic_string.h:231)
==750== by 0x40CE37: std::basic_string,
std::allocator >::~basic_string() (basic_string.h:498)
==750== by 0x5EF5EA: (anonymous namespace)::CGObjCMac::FinishModule()
(CGObjCMac.cpp:3512)
==750== by 0x5E9EBD: (anonymous namespace)::CGObjCMac::ModuleInitFunction()
(CGObjCMac.cpp:2340)
==750== by 0x54E7F8: clang::CodeGen::CodeGenModule::Release()
(CodeGenModule.cpp:70)
==750== by 0x54D66E: (anonymous
namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&)
(ModuleBuilder.cpp:85)
==750== by 0x4361FB: (anonymous
namespace)::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(Backend.cpp:142)
==750== by 0x732285: clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, clang::ASTContext&, bool, bool) (ParseAST.cpp:79)
==750== by 0x4052CB: ProcessInputFile(clang::Preprocessor&,
clang::PreprocessorFactory&, std::string const&, ProgActions,
llvm::StringMap const&, llvm::LLVMContext&)
(clang-cc.cpp:2084)
==750== Address 0x532b160 is 0 bytes inside data symbol
"_ZNSs4_Rep20_S_empty_rep_storageE"
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 15:52:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 15:52:27 -0500
Subject: [LLVMbugs] [Bug 3801] non- PIC-aware assembler code in X86 jit
In-Reply-To:
Message-ID: <200909052052.n85KqREF003571@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3801
Corrado Zoccolo changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 16:05:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 16:05:59 -0500
Subject: [LLVMbugs] [Bug 4810] [2.6] ExecutionEngine test failures on mixed
64/32 system
In-Reply-To:
Message-ID: <200909052105.n85L5xeJ005391@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4810
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Nick Lewycky 2009-09-05 16:05:58 ---
Humm, this problem has gone away on HEAD.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 16:35:21 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 16:35:21 -0500
Subject: [LLVMbugs] [Bug 4906] New: printf(3C) format argument not analized
correctly
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4906
Summary: printf(3C) format argument not analized correctly
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bkorb at gnu.org
CC: llvmbugs at cs.uiuc.edu
This fails:
printf("%1$d %1$d %2$d\n", 1, 2);
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 18:41:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 18:41:27 -0500
Subject: [LLVMbugs] [Bug 4907] New: llvm fails to build,
error: 'WeakVH' was not declared
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4907
Summary: llvm fails to build, error: 'WeakVH' was not declared
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: moritzwarning at web.de
CC: llvmbugs at cs.uiuc.edu
LLVM fails to build on Debian linux (x86_64). (FreeBSD 7.2 32&64bit as well).
release_26 branch.
llvm[3]: Compiling BasicBlockPlacement.cpp for Release build
llvm[3]: Compiling CodeGenPrepare.cpp for Release build
llvm[3]: Compiling CondPropagate.cpp for Release build
llvm[3]: Compiling ConstantProp.cpp for Release build
llvm[3]: Compiling DCE.cpp for Release build
llvm[3]: Compiling DeadStoreElimination.cpp for Release build
/home/mwarning/llvm-trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp: In
member function ???bool::DSE::runOnBasicBlock(llvm::BasicBlock&)???:
/home/mwarning/llvm-trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp:144:
error: ???WeakVH??? was not declared in this scope
/home/mwarning/llvm-trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp:144:
error: expected `;' before ???NextInst???
/home/mwarning/llvm-trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp:148:
error: ???NextInst??? was not declared in this scope
make[3]: ***
[/home/mwarning/llvm-trunk-obj/lib/Transforms/Scalar/Release/DeadStoreElimination.o]
Error 1
make[3]: Leaving directory
`/home/mwarning/llvm-trunk-obj/lib/Transforms/Scalar'
make[2]: *** [Scalar/.makeall] Error 2
make[2]: Leaving directory `/home/mwarning/llvm-trunk-obj/lib/Transforms'
make[1]: *** [Transforms/.makeall] Error 2
make[1]: Leaving directory `/home/mwarning/llvm-trunk-obj/lib'
make: *** [all] Error 1
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Sep 5 21:18:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 5 Sep 2009 21:18:40 -0500
Subject: [LLVMbugs] [Bug 4908] New: infinite loop in instcombine
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4908
Summary: infinite loop in instcombine
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
Instcombine loops on:
--
; ModuleID = ''
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-apple-darwin10.0"
define void @short2_int_swap(<1 x i16>* nocapture %b, i32* nocapture %c)
nounwind ssp {
entry:
%arrayidx = getelementptr inbounds <1 x i16>* %b, i64 undef ; <<1 x i16>*>
[#uses=1]
%tmp2 = load <1 x i16>* %arrayidx ; <<1 x i16>> [#uses=1]
%tmp6 = bitcast <1 x i16> %tmp2 to i16 ; [#uses=1]
%tmp7 = zext i16 %tmp6 to i32 ; [#uses=1]
%ins = or i32 0, %tmp7 ; [#uses=1]
%arrayidx20 = getelementptr inbounds i32* %c, i64 undef ; [#uses=1]
store i32 %ins, i32* %arrayidx20
ret void
}
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Sep 6 02:41:28 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 6 Sep 2009 02:41:28 -0500
Subject: [LLVMbugs] [Bug 4907] llvm fails to build,
error: 'WeakVH' was not declared
In-Reply-To:
Message-ID: <200909060741.n867fSY9023307@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4907
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |baldrick at free.fr
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Duncan Sands 2009-09-06 02:41:27 ---
Please test the 2.6 candidates released by Tanya
(http://llvm.org/prereleases/2.6/), and not the current state of the release_26
repository.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Sep 6 14:56:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 6 Sep 2009 14:56:51 -0500
Subject: [LLVMbugs] [Bug 4909] New: Crash in opt -partial-inliner
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4909
Summary: Crash in opt -partial-inliner
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: d.g.gorbachev at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3458)
--> (http://llvm.org/bugs/attachment.cgi?id=3458)
Reduced BC file
opt -disable-output -partial-inliner bugpoint-reduced-simplified.bc
0x080fa657 in llvm::cast (Val=@0x88978c4)
at /tmp/llvm/include/llvm/Support/Casting.h:199
199 assert(isa(Val) && "cast() argument of incompatible type!");
(gdb) bt
#0 0x080fa657 in llvm::cast (Val=@0x88978c4)
at /tmp/llvm/include/llvm/Support/Casting.h:199
#1 0x0812ee8d in runOnModule (this=0x88903f0, M=@0x88906d0)
at /tmp/llvm/lib/Transforms/IPO/PartialInlining.cpp:75
#2 0x084028aa in llvm::MPPassManager::runOnModule (this=0x88952c0,
M=@0x88906d0)
at /tmp/llvm/lib/VMCore/PassManager.cpp:1447
#3 0x08402c87 in llvm::PassManagerImpl::run (this=0x8891178, M=@0x88906d0)
at /tmp/llvm/lib/VMCore/PassManager.cpp:1528
#4 0x08402d37 in llvm::PassManager::run (this=0xbfd1939c, M=@0x88906d0)
at /tmp/llvm/lib/VMCore/PassManager.cpp:1557
#5 0x080f052e in main (argc=Cannot access memory at address 0x9)
at /tmp/llvm/tools/opt/opt.cpp:512
(gdb) print Val
$1 = (class llvm::Value * const&) @0x9fe68c4: 0x0
LLVM rev. 81123, compiled with GCC 4.3.3 with -O2.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Sep 6 15:22:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 6 Sep 2009 15:22:29 -0500
Subject: [LLVMbugs] [Bug 3801] non- PIC-aware assembler code in X86 jit
In-Reply-To:
Message-ID: <200909062022.n86KMTWh022292@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3801
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #19 from Anton Korobeynikov 2009-09-06 15:22:29 ---
(In reply to comment #18)
> (In reply to comment #17)
> > (In reply to comment #15)
> > > It was confirmed from many sources that the patch works correctly for both 32
> > > and 64 bit linux, and fixes the issue. I think the problem reported by Anton
> > > was just due an unclean build, so please include it in 2.6
> > No, it is not. I think you haven't tried to build libLTO.so, have you?
> >
>
> The patch works correctly on 32-bit Linux.
Right, the problem is only on 64-bit systems, because 32 bit pcrel relocation
is generated which is not suitable for PIC.
I've committed different version of this patch, which seems to work:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090831/086505.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Sep 6 15:33:39 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 6 Sep 2009 15:33:39 -0500
Subject: [LLVMbugs] [Bug 4910] New: fatal error: error in backend: Ran out
of registers during register allocation!
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4910
Summary: fatal error: error in backend: Ran out of registers
during register allocation!
Product: libraries
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
when compiling attached test case on i386 with clang/llvm (r81131) I am
getting:
witten /tmp# clang -c -O2 mp_machdep.c
... warnings ...
fatal error: error in backend: Ran out of registers during register allocation!
this might be related to bug 4733
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Sep 6 16:44:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 6 Sep 2009 16:44:17 -0500
Subject: [LLVMbugs] [Bug 4911] New: Tcl detection should look for tcl.h,
not tclsh
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4911
Summary: Tcl detection should look for tcl.h, not tclsh
Product: Build scripts
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: autoconf
AssignedTo: unassignedbugs at nondot.org
ReportedBy: salimma at fedoraproject.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3461)
--> (http://llvm.org/bugs/attachment.cgi?id=3461)
Look for tcl.h, not tclsh
LLVM currently validates the with_tclinclude setting by checking if the tclsh
binary exists. This binary is, however, installed in different places on some
Linux distributions: Fedora puts it in /usr/bin .
To enable dejagnu unit tests on Fedora, the configure script has to be slightly
modified to search for tcl.h instead -- the tests seem to run fine.
The patch attached is for 2.5, but it applies cleanly to 2.6 prerelease-1. If
it could be applied before the 2.6 release, we could avoid having to carry the
patch throughout the 2.6 release cycle.
Thanks,
-- Michel / Fedora Project
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Sep 6 20:23:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 6 Sep 2009 20:23:14 -0500
Subject: [LLVMbugs] [Bug 4912] New: "opt -insert-rs-profiling-framework"
seems stuck in an infinite loop
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4912
Summary: "opt -insert-rs-profiling-framework" seems stuck in an
infinite loop
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: d.g.gorbachev at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3462)
--> (http://llvm.org/bugs/attachment.cgi?id=3462)
BC file
opt -insert-rs-profiling-framework -disable-output xxx.bc
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Sep 6 23:27:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 6 Sep 2009 23:27:51 -0500
Subject: [LLVMbugs] [Bug 4913] New: unittests should build with build and
test with make check
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4913
Summary: unittests should build with build and test with make
check
Product: Test Suite
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DejaGNU
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The unittests currently are not well integrated with the makefiles and its too
easy to forget to keep them up to date.
The unittests should be build during a standard build, so that code changes
force the unittests to be updated.
The unittests should be run during 'make check', so that unittest failures are
detect like normal test failures.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 04:05:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 04:05:36 -0500
Subject: [LLVMbugs] [Bug 4902] clang tries to free a global variable
In-Reply-To:
Message-ID: <200909070905.n8795aw1003420@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4902
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #7 from Duncan Sands 2009-09-07 04:05:35 ---
This now seems to be working, but the original issue may not have been fixed
(Daniel thinks some changes he made may have masked the underlying problem).
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 14:00:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 14:00:50 -0500
Subject: [LLVMbugs] [Bug 4914] New: llvm-gcc doesn't do range analysis on
induction variable
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4914
Summary: llvm-gcc doesn't do range analysis on induction variable
Product: libraries
Version: trunk
Platform: PC
URL: http://codepad.org/n6dGCqje
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Loop Optimizer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rjmccall at apple.com
CC: llvmbugs at cs.uiuc.edu
This is a forwarded complaint by "bearophile" on LLVM IRC, who unfortunately
never files bugs. I am willing to act as a stand-in in this case.
The code in the URL produces worse code on (an unspecified version of) llvm-gcc
than (an unspecified version of) gcc does; assembly output from both is inline
in the test.
The difference seems to involve three things:
(1) gcc knows that i is never < 0, and so elides the first check when computing
sat(i).
(2) gcc knows that -i is always <= 0, and so infers that sat(-i) is always 0.
(3) gcc hoists a constant load outside of the loop.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 14:07:09 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 14:07:09 -0500
Subject: [LLVMbugs] [Bug 4915] New: error on postdomfrontier for a function
without exit block
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4915
Summary: error on postdomfrontier for a function without exit
block
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Global Analyses
AssignedTo: unassignedbugs at nondot.org
ReportedBy: kuba at gcc.gnu.org
CC: llvmbugs at cs.uiuc.edu
opt pdf_crash.bc -postdomfrontier -debug -disable-output
causes error because PDT.getRootNode() returns NULL for a function without exit
block.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 14:19:54 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 14:19:54 -0500
Subject: [LLVMbugs] [Bug 4916] New: Optimize add and unsigned compare to
add-with-overflow
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4916
Summary: Optimize add and unsigned compare to add-with-overflow
Product: libraries
Version: trunk
Platform: PC
URL: http://codepad.org/BqJOSpv6
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rjmccall at apple.com
CC: llvmbugs at cs.uiuc.edu
This is a forwarded complaint by "bearophile" on LLVM IRC, who unfortunately
never files bugs.
The URL contains the original test case.
llvm-gcc: gcc version 4.2.1 (Based on Apple Inc. build 5636) (LLVM build)
The following should be optimized to an add-with-overflow:
%c = add iN %a, $b
%d = icmp ult iN %c, %a
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 14:28:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 14:28:25 -0500
Subject: [LLVMbugs] [Bug 4917] New: Optimize mul and unsigned compare to
mul-with-overflow
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4917
Summary: Optimize mul and unsigned compare to mul-with-overflow
Product: libraries
Version: trunk
Platform: PC
URL: http://codepad.org/qIPeNgVm
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rjmccall at apple.com
CC: llvmbugs at cs.uiuc.edu
This is a forwarded complaint by "bearophile" on LLVM IRC, who unfortunately
never files bugs.
The URL contains an unreduced test case.
The following should be optimized to a mul-with-overflow:
%L_ext = zext i32 %L to i64
%R_ext = zext i32 %R to i64
%mul64 = mul i64 %L_ext, %R_ext # no uses except the following:
%overflow = icmp ugt i64 %mul64, (i64 0xffffffff)
br i1 %overflow, label %elsewhere, label %cont
...
%mul32 = mul i32 %L, %R
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 14:52:00 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 14:52:00 -0500
Subject: [LLVMbugs] [Bug 4918] New: Optimize mul and equality test to
mul-with-overflow
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4918
Summary: Optimize mul and equality test to mul-with-overflow
Product: libraries
Version: trunk
Platform: PC
URL: http://codepad.org/ugwQ37sh
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rjmccall at apple.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3468)
--> (http://llvm.org/bugs/attachment.cgi?id=3468)
Pastebin
This is a forwarded complaint by "bearophile" on LLVM IRC, who unfortunately
never files bugs.
The following should be optimized to a mul-with-overflow:
%L_ext = zext i32 %L to i64
%R_ext = zext i32 %R to i64
%mul64 = mul i64 %L_ext, %R_ext # no uses except the following:
%trunc = trunc i64 %mul64 to i32
%zext = zext i32 %trunc to i64
%overflow = icmp eq i64 %mul64, %zext
This pattern should create either a smul-with-overflow or a umul-with-overflow
depending on whether a sext or a zext is used.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 14:58:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 14:58:40 -0500
Subject: [LLVMbugs] [Bug 4919] New: llvm-gcc doesn't optimize simple
factorial into a loop
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4919
Summary: llvm-gcc doesn't optimize simple factorial into a loop
Product: libraries
Version: trunk
Platform: PC
URL: http://codepad.org/2K5gNj3e
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Interprocedural Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rjmccall at apple.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3469)
--> (http://llvm.org/bugs/attachment.cgi?id=3469)
Original pastebin
This is a forwarded complaint by "bearophile" on LLVM IRC, who unfortunately
never files bugs.
The following naive factorial function does not get optimized into a loop, even
at -O3.
long fact(long x) {
if (x <= 0)
return 1;
else
return x * fact(x - 1);
}
gcc-4.3.3 apparently can do this.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 15:31:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 15:31:29 -0500
Subject: [LLVMbugs] [Bug 4810] [2.6] ExecutionEngine test failures on mixed
64/32 system
In-Reply-To:
Message-ID: <200909072031.n87KVTSC027415@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4810
Tanya Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #5 from Tanya Lattner 2009-09-07 15:31:29 ---
Can someone see if this repo's with the 2.6 branch? I'm reopening this because
it occurred with pre-release1 and we need to make sure those patches get merged
in. Please make sure to note which patches in the bug so I can track
everything.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 16:00:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 16:00:48 -0500
Subject: [LLVMbugs] [Bug 4920] New: Document undef semantics
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4920
Summary: Document undef semantics
Product: Documentation
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
LangRef should document undef better, some thoughts from a discussion on IRC:
x = undef
a = xor x, x
What is the value of x?
x = undef
i1 a = icmp x, 4
i2 b = icmp x,5
Both a and b can be true here
select undef,a,b -> either a or b
br undef, L1, L2 -> choose either br L1 or br L2, not unreachable
undef is a value in the range of the type, but it can change its value during
its lifetime.
Does using an 'undef' value destroy SSA properties of the program when you RAUW
a value with undef? (previously it was a single value, and optimizers could
rely on this, after the replace it can become different values at different
points).
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 17:53:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 17:53:03 -0500
Subject: [LLVMbugs] [Bug 4920] Document undef semantics
In-Reply-To:
Message-ID: <200909072253.n87Mr3BT013229@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4920
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-09-07 17:53:02 ---
implemented in r81167
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 18:02:46 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 18:02:46 -0500
Subject: [LLVMbugs] [Bug 4921] New: No warning for control reaching end of
non-void function
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4921
Summary: No warning for control reaching end of non-void function
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: self at mattmower.com
CC: llvmbugs at cs.uiuc.edu
I'm using the version of Clang/LLVM that comes with Mac OSX 10.6.0.
When compiling the following Objective-C code:
- (int)foo {
}
I notice that neither the compiler, nor the analyzer, notice that the code does
not return. Compiling with GCC I get the expected "control reaches end of
non-void function".
I'm compiling with -Wall so I'd expect to get something.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 18:52:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 18:52:30 -0500
Subject: [LLVMbugs] [Bug 4921] No warning for control reaching end of
non-void function
In-Reply-To:
Message-ID: <200909072352.n87NqU08020726@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4921
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-09-07 18:52:29 ---
This is fixed on mainline, thanks!
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 19:27:34 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 19:27:34 -0500
Subject: [LLVMbugs] [Bug 4882] bus error in MemCpyOpt
In-Reply-To:
Message-ID: <200909080027.n880RY8B025303@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4882
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Chris Lattner 2009-09-07 19:27:33 ---
Fixed by Jakub here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086551.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 20:23:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 20:23:15 -0500
Subject: [LLVMbugs] [Bug 4915] error on postdomfrontier for a function
without exit block
In-Reply-To:
Message-ID: <200909080123.n881NFcP032606@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4915
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-09-07 20:23:14 ---
Fixed, thanks:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086552.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 20:29:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 20:29:22 -0500
Subject: [LLVMbugs] [Bug 4918] Optimize mul and equality test to
mul-with-overflow
In-Reply-To:
Message-ID: <200909080129.n881TM7D000957@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4918
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Chris Lattner 2009-09-07 20:29:22 ---
This is very related to 4917. Although not a strict dupe, it seems reasonable
that anyone tackling 4917 would fix this too.
*** This bug has been marked as a duplicate of bug 4917 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 22:45:16 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 22:45:16 -0500
Subject: [LLVMbugs] [Bug 4908] infinite loop in instcombine
In-Reply-To:
Message-ID: <200909080345.n883jGZP017908@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4908
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-09-07 22:45:14 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086562.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 23:15:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 23:15:38 -0500
Subject: [LLVMbugs] [Bug 4922] New: Clang's Sema:: ActOnEndOfTranslationUnit
completes tentative decls in nondeterminstic order
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4922
Summary: Clang's Sema::ActOnEndOfTranslationUnit completes
tentative decls in nondeterminstic order
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
While investigating PR4888, I discovered that Sema::ActOnEndOfTranslationUnit
is completing tentative definitions in DenseMap iteration order, leading to
nondeterminstic generated code. This is badness. One possible fix is to have
Sema put tentative definitions in a vector as well as the densemap, and then
emit in vector order.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Sep 7 23:56:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 7 Sep 2009 23:56:03 -0500
Subject: [LLVMbugs] [Bug 4767] Cannot print this instruction.
In-Reply-To:
Message-ID: <200909080456.n884u33h026999@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4767
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Chris Lattner 2009-09-07 23:56:03 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086567.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 00:18:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 00:18:51 -0500
Subject: [LLVMbugs] [Bug 4871] Assertion failed: (Bits != 0 && "Cannot print
this instruction." ), function printInstruction,
file /data/home/rdivacky/llvm/lib/Target/X86/
AsmPrinter/../X86GenAsmWriter.inc, line 2251.
In-Reply-To:
Message-ID: <200909080518.n885IplZ029930@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4871
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Chris Lattner 2009-09-08 00:18:50 ---
*** This bug has been marked as a duplicate of bug 4767 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 01:23:52 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 01:23:52 -0500
Subject: [LLVMbugs] [Bug 3484] test-suite should support building only
C/ObjC programs
In-Reply-To:
Message-ID: <200909080623.n886Nqx3005793@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3484
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Daniel Dunbar 2009-09-08 01:23:52 ---
I done did this. 'make DISABLE_CXX=1'
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 01:39:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 01:39:30 -0500
Subject: [LLVMbugs] [Bug 4689] Regalloc problems due to subregs?
In-Reply-To:
Message-ID: <200909080639.n886dUnj007903@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4689
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Evan Cheng 2009-09-08 01:39:29 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086586.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 03:26:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 03:26:22 -0500
Subject: [LLVMbugs] [Bug 4924] New: Assertion failed: (I->Codes.size() == 1
&& " Too many asm constraint codes to handle")
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4924
Summary: Assertion failed: (I->Codes.size() == 1 && "Too many asm
constraint codes to handle")
Product: libraries
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Backend: C
AssignedTo: unassignedbugs at nondot.org
ReportedBy: pawel.worach at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3471)
--> (http://llvm.org/bugs/attachment.cgi?id=3471)
bugpoint-reduced-simplified.bc
While bugpointing bug 4910 llc -march=c dies on the code attached.
# llc -march=c bugpoint-reduced-simplified.bc
Assertion failed: (I->Codes.size() == 1 && "Too many asm constraint codes to
handle"), function visitInlineAsm, file CBackend.cpp, line 3365.
Stack dump:
0. Program arguments: llc -march=c bugpoint-reduced-simplified.bc
1. Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2. Running pass 'C backend' on function '@cpustop_handler'
Abort (core dumped)
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 03:33:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 03:33:27 -0500
Subject: [LLVMbugs] [Bug 4924] Assertion failed: (I->Codes.size() == 1 && "
Too many asm constraint codes to handle")
In-Reply-To:
Message-ID: <200909080833.n888XR5o003146@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4924
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asl at math.spbu.ru
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Anton Korobeynikov 2009-09-08 03:33:27 ---
*** This bug has been marked as a duplicate of bug 802 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 08:14:45 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 08:14:45 -0500
Subject: [LLVMbugs] [Bug 4925] New: llc crash when a const struct includes a
zero-length member
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4925
Summary: llc crash when a const struct includes a zero-length
member
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: kennethuil at gmail.com
CC: llvmbugs at cs.uiuc.edu
When I run llc on the (assembled version of) the following code on Linux x86:
%testType = type {i32, [0 x i32], i32}
define i32 @main() {
%1 = alloca %testType
store %testType {i32 1, [0 x i32] zeroinitializer, i32 2}, %testType* %1
ret i32 0
}
llc crashes with a segmentation fault. It happens in the 2.5 release
version and in the version I pulled from svn trunk about two days
ago.
The trouble starts in SelectionDAGLowering::getValue(const Value* V),
within the if (isa(C) || isa(C)) check,
where the zero-length member (which can be either a zero-length array
or an empty struct) causes getValue(*OI).getNode() to return NULL.
The segfault occurs when this null pointer is used as the instance
pointer for SDNode::getNumValues(). It doesn't matter whether the
zero-length member appears at the beginning, the end, or somewhere in
the middle.
A simple null check on the result of getValue(*OI).getNode() clears up
the segfault and makes my larger test program run properly after
llc'ing and assembling (not surprising, since leaving out the
zero-length member leaves the result of the store unchanged).
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 10:35:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 10:35:01 -0500
Subject: [LLVMbugs] [Bug 4925] llc crash when a const struct includes a
zero-length member
In-Reply-To:
Message-ID: <200909081535.n88FZ1kk026366@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4925
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-09-08 10:35:00 ---
This was recently fixed on mainline.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 11:15:10 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 11:15:10 -0500
Subject: [LLVMbugs] [Bug 4926] New: Assertion in rewriteARMFrameIndex()
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4926
Summary: Assertion in rewriteARMFrameIndex()
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3472)
--> (http://llvm.org/bugs/attachment.cgi?id=3472)
Testcase
Consider the attached bytecode. It causes the following assertion:
llc: /home/asl/proj/llvm/src_arm/lib/Target/ARM/ARMBaseInstrInfo.cpp:999: bool
llvm::rewriteARMFrameIndex(llvm::MachineInstr&, unsigned int, unsigned int,
int&, const llvm::ARMBaseInstrInfo&): Assertion `(Offset & (Scale-1)) == 0 &&
"Can't encode this offset!"' 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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 13:20:09 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 13:20:09 -0500
Subject: [LLVMbugs] [Bug 4922] Clang's Sema:: ActOnEndOfTranslationUnit
completes tentative decls in nondeterminstic order
In-Reply-To:
Message-ID: <200909081820.n88IK9jo016564@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4922
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Chris Lattner 2009-09-08 13:20:08 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090907/021105.html
Sema still has other problems though.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 13:40:45 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 13:40:45 -0500
Subject: [LLVMbugs] [Bug 4889] loop-unswitch assertion fails: " Cannot
change null node pointers!"
In-Reply-To:
Message-ID: <200909081840.n88IejWB019390@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4889
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Dan Gohman 2009-09-08 13:40:45 ---
Both problems are now fixed in llvm tot r81221.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Sep 8 13:44:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 8 Sep 2009 13:44:17 -0500
Subject: [LLVMbugs] [Bug 4888] [2.6] test/CodeGen/pragma-weak.c fails
In-Reply-To:
Message-ID: <200909081844.n88IiHe8019844@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4888
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner