<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Infinite loop compiling kvm_i386.c at -O2"
href="http://llvm.org/bugs/show_bug.cgi?id=19084">19084</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Infinite loop compiling kvm_i386.c at -O2
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pawel.worach@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=12201" name="attach_12201" title="bugpoint-reduced-simplified.bc">attachment 12201</a> <a href="attachment.cgi?id=12201&action=edit" title="bugpoint-reduced-simplified.bc">[details]</a></span>
bugpoint-reduced-simplified.bc
Bugpoint reduced test-case attached. Original problem found in
src/lib/libkvm/kvm_i386.c from FreeBSD. Only tested on 32-bit x86.
llc -O2 bugpoint-reduced-simplified.bc
llvm/clang trunk revision 203346.
Is this similar to <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - Clang in an infinite loop"
href="show_bug.cgi?id=13021">bug 13021</a> ?
0>buildbot@llvm-i386 ~% gdb
/data/buildslave/freebsd-clang-i386/obj/llvm.1/Release/bin/llc
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols
found)...
(gdb) run -O2 bugpoint-reduced-simplified.bc
Starting program:
/data/buildslave/freebsd-clang-i386/obj/llvm.1/Release/bin/llc -O2
bugpoint-reduced-simplified.bc
(no debugging symbols found)...(no debugging symbols found)...[New LWP 101246]
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...^C[New Thread 29403080 (LWP 101246/llc)]
Program received signal SIGINT, Interrupt.
[Switching to Thread 29403080 (LWP 101246/llc)]
0x0816c214 in llvm::TargetLoweringBase::getValueType ()
(gdb) bt
#0 0x0816c214 in llvm::TargetLoweringBase::getValueType ()
#1 0x084607df in (anonymous namespace)::CodeGenPrepare::OptimizeInst ()
#2 0x0845e021 in (anonymous namespace)::CodeGenPrepare::runOnFunction ()
#3 0x087c61ea in llvm::FPPassManager::runOnFunction ()
#4 0x087c6412 in llvm::FPPassManager::runOnModule ()
#5 0x087c68c1 in llvm::legacy::PassManagerImpl::run ()
#6 0x087c6d28 in llvm::legacy::PassManager::run ()
#7 0x0812655e in main ()
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x08460724 in (anonymous namespace)::CodeGenPrepare::OptimizeInst ()
(gdb) bt
#0 0x08460724 in (anonymous namespace)::CodeGenPrepare::OptimizeInst ()
#1 0x0845e021 in (anonymous namespace)::CodeGenPrepare::runOnFunction ()
#2 0x087c61ea in llvm::FPPassManager::runOnFunction ()
#3 0x087c6412 in llvm::FPPassManager::runOnModule ()
#4 0x087c68c1 in llvm::legacy::PassManagerImpl::run ()
#5 0x087c6d28 in llvm::legacy::PassManager::run ()
#6 0x0812655e in main ()
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x084674e6 in SinkCast ()
(gdb) bt
#0 0x084674e6 in SinkCast ()
#1 0x0846175b in (anonymous namespace)::CodeGenPrepare::OptimizeInst ()
#2 0x0845e021 in (anonymous namespace)::CodeGenPrepare::runOnFunction ()
#3 0x087c61ea in llvm::FPPassManager::runOnFunction ()
#4 0x087c6412 in llvm::FPPassManager::runOnModule ()
#5 0x087c68c1 in llvm::legacy::PassManagerImpl::run ()
#6 0x087c6d28 in llvm::legacy::PassManager::run ()
#7 0x0812655e in main ()
(gdb) kill
Kill the program being debugged? (y or n) y</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>