This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36780] New: [4.3/4.4 Regression] Wrong reload generated for subreg address on SH
- From: "kkojima at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2008 01:20:15 -0000
- Subject: [Bug target/36780] New: [4.3/4.4 Regression] Wrong reload generated for subreg address on SH
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
For trunk and 4.3-branch, bootstrapping on SH fails during building
libstdc++-v3
/exp/ldroot/dodes/xsh-gcc-orig/sh4-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:559:
error: insn does not satisfy its constraints:
(insn 2055 2054 716 106
/exp/ldroot/dodes/xsh-gcc-orig/sh4-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:473
(set (reg:SI 2 r2)
(plus:SI (reg:SI 3 r3)
(const_int 40 [0x28]))) 35 {*addsi3_compact} (nil))
/exp/ldroot/dodes/xsh-gcc-orig/sh4-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:559:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
It starts to fail after the patch
r137639 | jsm28 | 2008-07-09 05:23:56 +0900 (Wed, 09 Jul 2008) | 3 lines
* reload.c (find_reloads_subreg_address): Do not require validity
of address in original mode before reloading address.
is applied.
--
Summary: [4.3/4.4 Regression] Wrong reload generated for subreg
address on SH
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC target triplet: sh-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36780