[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-bugs
Subject: [LLVMbugs] [Bug 13967] New: IndVarSimplify::runOnLoop: Assertion `Idx >= 0 && "Invalid basic block a
From: bugzilla-daemon () llvm ! org
Date: 2012-09-28 8:17:09
Message-ID: bug-13967-206 () http ! llvm ! org/bugs/
[Download RAW message or body]
http://llvm.org/bugs/show_bug.cgi?id=13967
Bug #: 13967
Summary: IndVarSimplify::runOnLoop: Assertion `Idx >= 0 &&
"Invalid basic block argument!"'
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
AssignedTo: unassignedbugs@nondot.org
ReportedBy: kcc@google.com
CC: llvmbugs@cs.uiuc.edu
Classification: Unclassified
clang r164813, 64-bit linux; test case by csmith+creduce
clang -c -w 3158503489.i -m32 -O3
clang -cc1 -triple i386-unknown-linux-gnu -emit-obj -disable-free
-main-file-name 3158503489.i -mrelocation-model static -fmath-errno
-masm-verbose -mconstructor-aliases -target-cpu pentium4
-momit-leaf-frame-pointer -v -O3 -w -ferror-limit 19 -fmessage-length 196
-mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-o 3158503489.o -x cpp-output 3158503489.i
//////////////////////////////////////////////////
a;
b;
long long c;
fn1 () {
int *d = &b;
lbl_1155:
*d = a ? ++c : ++c / 0;
if (b)
goto lbl_1155;
}
#3 0x0000000000e5d531 in
llvm::PHINode::getIncomingValueForBlock(llvm::BasicBlock const*) const ()
#4 0x0000000000e81512 in (anonymous
namespace)::IndVarSimplify::runOnLoop(llvm::Loop*, llvm::LPPassManager&) ()
#5 0x000000000104902c in llvm::LPPassManager::runOnFunction(llvm::Function&)
()
#6 0x00000000011b054d in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
--
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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic