[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-31 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 Oleg Endo changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-31 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 --- Comment #14 from Oleg Endo --- Author: olegendo Date: Thu Jul 31 20:19:43 2014 New Revision: 213384 URL: https://gcc.gnu.org/viewcvs?rev=213384&root=gcc&view=rev Log: gcc/ Backport from mainline 2014-07-31 Oleg Endo PR target

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-31 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 --- Comment #13 from Oleg Endo --- Author: olegendo Date: Thu Jul 31 16:27:56 2014 New Revision: 213381 URL: https://gcc.gnu.org/viewcvs?rev=213381&root=gcc&view=rev Log: gcc/ PR target/61844 * config/sh/sh.c (sh_legitimate_address_p,

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-31 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 --- Comment #12 from dhowells at redhat dot com --- (In reply to Oleg Endo from comment #10) > Created attachment 33197 [details] > a possible fix It permits me to build a slew of sh64 libgccs, so it's looking good.

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-29 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-28 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 --- Comment #11 from Oleg Endo --- (In reply to dhowe...@redhat.com from comment #2) > Created attachment 33144 [details] > Old, no-longer functional patch to libgcc > > I was given the attached patch when I was on gcc-4.7 but it doesn't seem to

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-28 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 --- Comment #10 from Oleg Endo --- Created attachment 33197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33197&action=edit a possible fix (In reply to Kazumoto Kojima from comment #9) > The testcase in #7 can be compiled successfully whe

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-27 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 --- Comment #9 from Kazumoto Kojima --- The testcase in #7 can be compiled successfully when -mindexed-addressing is added. It looks that base+index reg addressing mode is disabled for shmedia32 and shcompact as default and it makes ira unhappy.

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-27 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 --- Comment #8 from Kazumoto Kojima --- Ah, I'm wrong about the insn 440 in #7 doesn't require reload. I've missed psuedo reg 736. Anyways there is an issue for base+index reg addressing for *movsi_media.

[Bug target/61844] ICE when building libgcc for sh64 cross-compiler

2014-07-27 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61844 Kazumoto Kojima changed: What|Removed |Added Component|rtl-optimization|target --- Comment #7 from Kazumoto Ko