[Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Sep 9 16:08:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
Summary: [3.3 regression] [IA64] Compiler generates infinite loop
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-suse-linux
The compiler generates an infinite loop from this part of the testcase:
for (size_t i = 0; i < siblings.size(); ++i) {
std::vector <Node> new_siblings;
if (! fetch(siblings[i], new_siblings)) {
array[begin + siblings[i].code].base =
val ? (ArrayType)(-val[siblings[i].left]-1) : (ArrayType)(-siblings
[i].left-1);
.L925:
.mfb
ld8 r14 = [r15] // <variable>.val
nop.f 0
nop.b 0
;;
.mib
cmp.eq p6, p7 = 0, r14
nop.i 0
(p7) br.cond.dptk .L925
More information about the Gcc-bugs
mailing list