Executing on host: /home/dave/gnu/gcc-4.0/objdir/gcc/xgcc -B/home/dave/gnu/gcc-4
.0/objdir/gcc/ -O3 -fomit-frame-pointer -w -fno-show-column -c -o 930621-1.o
/home/dave/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.c-torture/compile/930621-1.c (t
imeout = 300)
PASS: gcc.c-torture/compile/930621-1.c -O3 -fomit-frame-pointer (test for exce
ss errors)
Executing on host: /home/dave/gnu/gcc-4.0/objdir/gcc/xgcc -B/home/dave/gnu/gcc-4
.0/objdir/gcc/ -O3 -fomit-frame-pointer -funroll-loops -w -fno-show-column -c
-o 930621-1.o /home/dave/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.c-torture/compile/9
30621-1.c (timeout = 300)
/home/dave/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.c-torture/compile/930621-1.c: In fu
nction 'modlookup':
/home/dave/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.c-torture/compile/930621-1.c:38: er
ror: unrecognizable insn:
(jump_insn 147 78 146 6 (parallel [
(return)
(use (reg:SI 2 %r2))
(const_int 0 [0x0])
]) -1 (nil)
(expr_list:REG_DEAD (reg:SI 2 %r2)
(nil)))
/home/dave/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.c-torture/compile/930621-1.c:38: in
ternal compiler error: in extract_insn, at recog.c:2084
This occurs in the regrename pass. I think the problem is the config is
not valid and as a result regrename_optimize uses register %r2, invalidating
the return.
The most obvious change that could have introduced the problem is:
2005-07-12 Zdenek Dvorak <[EMAIL PROTECTED]>
PR rtl-optimization/20376
* toplev.c (process_options): Enable -fweb and -frename-registers when
unrolling.
* doc/invoke.texi: Update the information about when -fweb and
-frename-registers are enabled.
--
Summary: [4.1 regression] testsuite failure gcc.c-
torture/compile/930621-1.c -O3 -funroll-loops
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa-unknown-linux-gnu
GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22472