Bug#186299: optimization/10315: [3.2/3.3 regression] [powerpc] ICE: in extract_insn, at recog.c:2175
- To: Richard Henderson <rth@redhat.com>, 186299@bugs.debian.org
- Cc: David Edelsohn <dje@watson.ibm.com>, Geoff Keating <geoffk@geoffk.org>, s.bosscher@student.tudelft.nl, gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, adconrad@0c3.net, gcc-patches@gcc.gnu.org
- Subject: Bug#186299: optimization/10315: [3.2/3.3 regression] [powerpc] ICE: in extract_insn, at recog.c:2175
- From: Matthias Klose <doko@cs.tu-berlin.de>
- Date: Fri, 25 Apr 2003 07:28:17 +0200
- Message-id: <16040.51057.143866.334003@gargle.gargle.HOWL>
- Reply-to: Matthias Klose <doko@cs.tu-berlin.de>, 186299@bugs.debian.org
- In-reply-to: <20030424045118.GA21136@redhat.com>
- References: <200304231814.h3NIEQi26263@desire.geoffk.org> <200304232009.QAA31218@makai.watson.ibm.com> <20030423225043.GI24723@redhat.com> <20030424045118.GA21136@redhat.com>
Richard Henderson writes:
> On Wed, Apr 23, 2003 at 03:50:43PM -0700, Richard Henderson wrote:
> > This is the same as PR8300, which I am looking at today.
>
> Well, not quite the same. There are a couple of bugs here, any one
> of which will fix the crash.
>
> First, rs6000_emit_move decided that any time it was called with a
> non-general_operand input, that it must be reload doing something
> weird. The attached patch (which has only been cross-tested vs the
> pr test case) would appear to do the right thing. Would someone
> please give this proper bootstrap testing?
bootstrapped CVS 20030424 with and without this patch. no differences.
Matthias
Results for 3.3 20030424 (prerelease) testsuite on powerpc-unknown-linux-gnu
LAST_UPDATED: Thu Apr 24 05:47:25 UTC 2003
Native configuration is powerpc-unknown-linux-gnu
=== g++ tests ===
Running target unix
FAIL: g++.dg/compat/break/bitfield7 y_tst.o compile
UNRESOLVED: g++.dg/compat/break/bitfield7 x_tst.o-y_tst.o link
UNRESOLVED: g++.dg/compat/break/bitfield7 x_tst.o-y_tst.o execute
XPASS: g++.dg/other/packed1.C execution test
FAIL: g++.dg/parse/crash2.C (test for errors, line 5)
FAIL: g++.dg/parse/crash2.C (test for excess errors)
FAIL: g++.benjamin/typedef01.C .* (test for errors, line 46)
FAIL: g++.other/elab1.C T is a template type parameter (test for errors, line 8)
XPASS: g++.other/init5.C Execution test
=== g++ Summary ===
# of expected passes 7899
# of unexpected failures 5
# of unexpected successes 2
# of expected failures 96
# of unresolved testcases 2
# of untested testcases 23
# of unsupported tests 18
/home/doko/snap/gcc-snapshot-20030424/build/gcc/testsuite/../g++ version 3.3 20030424 (prerelease)
=== g77 tests ===
Running target unix
=== g77 Summary ===
# of expected passes 1686
# of unsupported tests 8
/home/doko/snap/gcc-snapshot-20030424/build/gcc/testsuite/../g77 version 3.3 20030424 (prerelease)
=== gcc tests ===
Running target unix
FAIL: gcc.dg/20020103-1.c scan-assembler-not LC
FAIL: gcc.dg/20020118-1.c execution test
FAIL: gcc.dg/altivec-5.c (test for excess errors)
FAIL: gcc.dg/duff-2.c (test for excess errors)
=== gcc Summary ===
# of expected passes 21243
# of unexpected failures 4
# of expected failures 67
# of unsupported tests 153
/home/doko/snap/gcc-snapshot-20030424/build/gcc/xgcc version 3.3 20030424 (prerelease)
=== objc tests ===
Running target unix
FAIL: objc.dg/naming-1.m (test for errors, line 20)
FAIL: objc.dg/naming-1.m (test for excess errors)
FAIL: objc.dg/naming-2.m (test for errors, line 7)
FAIL: objc.dg/naming-2.m (test for excess errors)
=== objc Summary ===
# of expected passes 1149
# of unexpected failures 4
/home/doko/snap/gcc-snapshot-20030424/build/gcc/xgcc version 3.3 20030424 (prerelease)
=== libjava tests ===
Running target unix
FAIL: Array_3 -O execution - source compiled test
WARNING: program timed out.
FAIL: SyncTest execution - gij test
WARNING: program timed out.
FAIL: SyncTest execution - gij test
=== libjava Summary ===
# of expected passes 2937
# of unexpected failures 3
# of expected failures 16
# of untested testcases 15
=== libstdc++-v3 tests ===
Running target unix
XPASS: 22_locale/collate_byname.cc execution test
XPASS: 22_locale/collate_members_char.cc execution test
XPASS: 22_locale/collate_members_wchar_t.cc execution test
XPASS: 22_locale/ctype_is_char.cc execution test
XPASS: 22_locale/ctype_is_wchar_t.cc execution test
XPASS: 22_locale/members.cc execution test
XPASS: 22_locale/messages_byname.cc execution test
XPASS: 22_locale/messages_members_char.cc execution test
XPASS: 22_locale/moneypunct_byname.cc execution test
XPASS: 22_locale/moneypunct_members_char.cc execution test
XPASS: 22_locale/moneypunct_members_wchar_t.cc execution test
XPASS: 22_locale/numpunct_byname.cc execution test
XPASS: 22_locale/numpunct_members_char.cc execution test
XPASS: 22_locale/numpunct_members_wchar_t.cc execution test
=== libstdc++-v3 Summary ===
# of expected passes 453
# of unexpected successes 14
# of expected failures 14
Compiler version: 3.3 20030424 (prerelease)
Platform: powerpc-unknown-linux-gnu
configure flags: --host=powerpc-linux -v --enable-languages=c,c++,java,f77,objc --prefix=/usr/lib/gcc-snapshot --infodir=/share/info --mandir=/share/man --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --with-cpp-install-dir=bin --enable-multilibs --enable-objc-gc --disable-multilib
BOOT_CFLAGS=-O2
Build Dependencies:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii binutils 2.13.90.0.18-1 The GNU assembler, linker and binary utiliti
ii libc6-dev 2.3.1-14 GNU C Library: Development Libraries and Hea
Patches that Debian applied in this version:
autoreconf:
autoreconf several directories for proper mipsen libtool support
libobjc:
Find gc.h header in /usr/include/gc for --enable-objc-gc enabled builds.
Reply to: