Bug 40320 - [4.5 Regression] Revision 148039 caused ICE: in extract_insn, at recog.c:2078
Summary: [4.5 Regression] Revision 148039 caused ICE: in extract_insn, at recog.c:2078
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.5.0
: P1 blocker
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 13:08 UTC by Dominique d'Humieres
Modified: 2009-06-01 14:50 UTC (History)
3 users (show)

See Also:
Host:
Target: x86
Build:
Known to work:
Known to fail:
Last reconfirmed: 2009-06-01 14:26:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique d'Humieres 2009-06-01 13:08:44 UTC
Bootstrapping revision 148039 on i686-apple-darwin9 fails with:

/opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-gcc/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/lib/ -isystem /opt/gcc/gcc4.5w/i686-apple-darwin9/include -isystem /opt/gcc/gcc4.5w/i686-apple-darwin9/sys-include    -c  -g -O2 -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -Ijava -I../../gcc-4.5-work/gcc -I../../gcc-4.5-work/gcc/java -I../../gcc-4.5-work/gcc/../include -I./../intl -I../../gcc-4.5-work/gcc/../libcpp/include -I/opt/mpc/build/include  -I/sw/include  -I../../gcc-4.5-work/gcc/../libdecnumber -I../../gcc-4.5-work/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include  -I/sw/include -DCLOOG_PPL_BACKEND   ../../gcc-4.5-work/gcc/java/win32-host.c -o java/win32-host.o
/opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-gcc/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/lib/ -isystem /opt/gcc/gcc4.5w/i686-apple-darwin9/include -isystem /opt/gcc/gcc4.5w/i686-apple-darwin9/sys-include    -c  -g -O2 -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -Ijava -I../../gcc-4.5-work/gcc -I../../gcc-4.5-work/gcc/java -I../../gcc-4.5-work/gcc/../include -I./../intl -I../../gcc-4.5-work/gcc/../libcpp/include -I/opt/mpc/build/include  -I/sw/include  -I../../gcc-4.5-work/gcc/../libdecnumber -I../../gcc-4.5-work/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include  -I/sw/include -DCLOOG_PPL_BACKEND   ../../gcc-4.5-work/gcc/java/jcf-parse.c -o java/jcf-parse.o
../../gcc-4.5-work/gcc/java/verify-impl.c: In function 'get_variable_t':
../../gcc-4.5-work/gcc/java/verify-impl.c:1280: error: unrecognizable insn:
(insn 81 80 82 13 ../../gcc-4.5-work/gcc/java/verify-impl.c:1279 (set (mem:SI (plus:SI (reg/f:SI 56 virtual-outgoing-args)
                (const_int 4 [0x4])) [0 S4 A32])
        (plus:SI (reg/f:SI 113)
            (reg:SI 66 [ D.14606 ]))) -1 (nil))
../../gcc-4.5-work/gcc/java/verify-impl.c:1280: internal compiler error: in extract_insn, at recog.c:2078
Comment 1 Dominique d'Humieres 2009-06-01 14:16:38 UTC
See also "Gcc [trunk revision 148039] failed to boostrap on i686!" at http://gcc.gnu.org/ml/gcc-regression/2009-06/msg00007.html
and "NEW GCC build failure, HEAD@148039 on native" at http://gcc.gnu.org/ml/gcc-regression/2009-06/msg00006.html
Comment 2 H.J. Lu 2009-06-01 14:26:00 UTC
Revision 148039:

http://gcc.gnu.org/ml/gcc-cvs/2009-06/msg00016.html

is the cause.
Comment 3 H.J. Lu 2009-06-01 14:43:02 UTC
On Linux/ia32, I got

/export/gnu/import/svn/gcc-test/bld/./gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc -I../../../src-trunk/libgcc -I../../../src-trunk/libgcc/. -I../../../src-trunk/libgcc/../gcc -I../../../src-trunk/libgcc/../include -I../../../src-trunk/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _powitf2.o -MT _powitf2.o -MD -MP -MF _powitf2.dep -DL_powitf2 -c ../../../src-trunk/libgcc/../gcc/libgcc2.c \
	  -fvisibility=hidden -DHIDE_EXPORTS
../../../src-trunk/libgcc/../gcc/libgcc2.c: In function '__powitf2':
../../../src-trunk/libgcc/../gcc/libgcc2.c:1739: error: unrecognizable insn:
(insn 48 47 49 7 ../../../src-trunk/libgcc/../gcc/libgcc2.c:1734 (set (mem:SI (reg/f:SI 56 virtual-outgoing-args) [0 S4 A32])
        (plus:SI (reg/f:SI 54 virtual-stack-vars)
            (const_int -16 [0xfffffff0]))) -1 (nil))
../../../src-trunk/libgcc/../gcc/libgcc2.c:1739: internal compiler error: in extract_insn, at recog.c:2078
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Comment 4 Maxim Kuvyrkov 2009-06-01 14:50:28 UTC
I've reverted the patch that caused the bootstrap failure.