[LLVMbugs] [Bug 19084] New: Infinite loop compiling kvm_i386.c at -O2

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 8 11:25:38 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=19084

            Bug ID: 19084
           Summary: Infinite loop compiling kvm_i386.c at -O2
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12201
  --> http://llvm.org/bugs/attachment.cgi?id=12201&action=edit
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 bug 13021 ?

0>buildbot at 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140308/0cb53d00/attachment.html>


More information about the llvm-bugs mailing list