[Bug target/62111] ICE when building Linux kernel for sh64

2014-09-02 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #18 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Author: kkojima Date: Tue Sep 2 22:28:29 2014 New Revision: 214832 URL: https://gcc.gnu.org/viewcvs?rev=214832root=gccview=rev Log: PR target/62111 *

[Bug target/62111] ICE when building Linux kernel for sh64

2014-09-02 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 Kazumoto Kojima kkojima at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-25 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #17 from Kazumoto Kojima kkojima at gcc dot gnu.org --- I've filed a new PR62261 for the issue in #c7.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-24 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #16 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Author: kkojima Date: Mon Aug 25 00:37:51 2014 New Revision: 214413 URL: https://gcc.gnu.org/viewcvs?rev=214413root=gccview=rev Log: PR target/62111 *

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-21 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #13 from dhowells at redhat dot com dhowells at redhat dot com --- (In reply to Segher Boessenkool from comment #11) Re: #c7: In sh.c, change char amount[6] to signed char amount[6] -- does that help? That shouldn't make any

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-21 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #14 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Created attachment 33372 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33372action=edit A possible patch It seems that the ICE in #c7 came from the negative shift count.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-21 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #15 from dhowells at redhat dot com dhowells at redhat dot com --- That fixes the ICE.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #12 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Segher Boessenkool from comment #11) Re: #c7: In sh.c, change char amount[6] to signed char amount[6] -- does that help? Hm, using 'signed char' instead of 'char'

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 Segher Boessenkool segher at gcc dot gnu.org changed: What|Removed |Added CC||segher at

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-18 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #6 from dhowells at redhat dot com dhowells at redhat dot com --- (In reply to Kazumoto Kojima from comment #5) ... even though general_extend_operand doesn't permit (truncate (mem ...)). An easy workaround might be to disable

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-18 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #7 from dhowells at redhat dot com dhowells at redhat dot com --- Having said that, if I use make -k, I can get this: ../drivers/scsi/sd.c: In function 'sd_init_command': ../drivers/scsi/sd.c:1139:1: error: unrecognizable insn: } ^

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-18 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #8 from Kazumoto Kojima kkojima at gcc dot gnu.org --- A reduced test case is always welcome.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-18 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #9 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to dhowe...@redhat.com from comment #7) Having said that, if I use make -k, I can get this: ../drivers/scsi/sd.c: In function 'sd_init_command':

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-18 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #10 from dhowells at redhat dot com dhowells at redhat dot com --- This is the reduced test case for comment 7: extern void string_get_size(unsigned long long size); void sd_read_capacity(unsigned long long capacity) {

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-17 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 Kazumoto Kojima kkojima at gcc dot gnu.org changed: What|Removed |Added CC||kkojima at

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #1 from dhowells at redhat dot com dhowells at redhat dot com --- The following command line is sufficient to reproduce the error: sh64-linux-gnu-gcc -m5-64media-nofpu -ml -O2 -S -o testcase.o testcase.i Adding -v to the command

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #2 from dhowells at redhat dot com dhowells at redhat dot com --- The binutils is based on the 2.24 branch, git commit cab6c3ee9785f072a373afe31253df0451db93cf and was built targeting sh64-linux-elf.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Target||sh*-*-*

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #4 from dhowells at redhat dot com dhowells at redhat dot com --- The compiler is gcc-4.9.1, dated 20140717, svnrev 212747. One patch is applied - see bug 61844.