[LLVMbugs] [Bug 378] NEW: gccas bus error at string.c in <obj>/runtime/GCCLibraries/libc

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jun 20 13:10:17 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=378

           Summary: gccas bus error at string.c in
                    <obj>/runtime/GCCLibraries/libc
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gccas
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: wanderer at rsu.ru


gccas generate bus error at compile string.c in 
<obj>/runtime/GCCLibraries/libc 

reproduce command line:
opt bugpoint-reduced-simplified.bc -indvars

file bugpoint-reduced-simplified.bc will be attached

GDB backtrace:
---8X---------------------
#0  0x0837ea84 in llvm::SCEV::getSCEVType (this=0xd0d0d0d0) at 
ScalarEvolution.h:57
57          unsigned getSCEVType() const { return SCEVType; }
(gdb) bt
#0  0x0837ea84 in llvm::SCEV::getSCEVType (this=0xd0d0d0d0) at 
ScalarEvolution.h:57
#1  0x084c292f in GroupByComplexity (Ops=@0xbfbfe2b0)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:374
#2  0x084c3afb in llvm::SCEVAddExpr::get (Ops=@0xbfbfe2b0)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:554
#3  0x084c423f in llvm::SCEVAddExpr::get (Ops=@0xbfbfe2b0)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:618
#4  0x084c54f3 in llvm::SCEVAddExpr::get (Ops=@0xbfbfe6f0)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:720
#5  0x0837da24 in llvm::SCEVAddExpr::get (LHS=@0xbfbfe800, RHS=@0xbfbfe810) at 
ScalarEvolutionExpressions.h:214
#6  0x084c9093 in (anonymous namespace)::ScalarEvolutionsImpl::createSCEV 
(this=0x8af4300, V=0x8af3340)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:1280
#7  0x084c810f in (anonymous namespace)::ScalarEvolutionsImpl::getSCEV 
(this=0x8af4300, V=0x8af3340)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:1139
#8  0x084c8315 in (anonymous 
namespace)::ScalarEvolutionsImpl::UpdatePHIUserScalarEntries (this=0x8af4300, 
I=0x8af3340,
    PN=0x8b01500, UpdatedInsts=@0xbfbfe960) 
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:1156
#9  0x084c8a9d in (anonymous 
namespace)::ScalarEvolutionsImpl::createNodeForPHI (this=0x8af4300, 
PN=0x8b01500)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:1229
#10 0x084c9808 in (anonymous namespace)::ScalarEvolutionsImpl::createSCEV 
(this=0x8af4300, V=0x8b01500)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:1316
#11 0x084c810f in (anonymous namespace)::ScalarEvolutionsImpl::getSCEV 
(this=0x8af4300, V=0x8b01500)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:1139
#12 0x084ceaa9 in llvm::ScalarEvolution::getSCEV (this=0x8b4a360, V=0x8b01500)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/ScalarEvolution.cpp:2160
#13 0x0832ed72 in (anonymous namespace)::IndVarSimplify::runOnLoop 
(this=0x8b4c400, L=0x8b1e1e0)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Transforms/Scalar/IndVarSimplify.
cpp:603
#14 0x083824fe in (anonymous namespace)::IndVarSimplify::runOnFunction 
(this=0x8b4c400)
    
at /home/wanderer/pkg/build/llvm/src/llvm/lib/Transforms/Scalar/IndVarSimplify.
cpp:307
#15 0x08454979 in llvm::PassManagerTraits<llvm::Function>::runPass 
(P=0x8b4c400, F=0x8b2d080) at PassManagerT.h:696
#16 0x08454013 in llvm::PassManagerT<llvm::Function>::runOnUnit 
(this=0x8b49080, M=0x8b2d080) at PassManagerT.h:256
#17 0x08455059 in llvm::PassManagerTraits<llvm::Function>::runOnFunction 
(this=0x8b49080, F=@0x8b2d080)
    at PassManagerT.h:799
#18 0x083fa4ab in llvm::FunctionPass::run (this=0x8b49080, M=@0x89ea140)
    at /home/wanderer/pkg/build/llvm/src/llvm/lib/VMCore/Pass.cpp:236
#19 0x0844f0a9 in llvm::PassManagerTraits<llvm::Module>::runPass (P=0x8b49080, 
M=0x89ea140) at PassManagerT.h:735
#20 0x0844dfbf in llvm::PassManagerT<llvm::Module>::runOnUnit (this=0x8b2d000, 
M=0x89ea140) at PassManagerT.h:256
#21 0x08450a77 in llvm::PassManagerTraits<llvm::Module>::run (this=0x8b2d000, 
M=@0x89ea140) at PassManagerT.h:744
#22 0x083f98ab in llvm::PassManager::run (this=0xbfbff4d4, M=@0x89ea140)
    at /home/wanderer/pkg/build/llvm/src/llvm/lib/VMCore/Pass.cpp:81
#23 0x082c5a7c in main (argc=4, argv=0xbfbff594) 
at /home/wanderer/pkg/build/llvm/src/llvm/tools/gccas/gccas.cpp:184
---X8---------------------



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list