https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
Kazumoto Kojima changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #18 from Kazumoto Kojima ---
Author: kkojima
Date: Tue Sep 2 22:28:29 2014
New Revision: 214832
URL: https://gcc.gnu.org/viewcvs?rev=214832&root=gcc&view=rev
Log:
PR target/62111
* config/sh/predicates.md (general_extend_ope
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #17 from Kazumoto Kojima ---
I've filed a new PR62261 for the issue in #c7.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #16 from Kazumoto Kojima ---
Author: kkojima
Date: Mon Aug 25 00:37:51 2014
New Revision: 214413
URL: https://gcc.gnu.org/viewcvs?rev=214413&root=gcc&view=rev
Log:
PR target/62111
* config/sh/predicates.md (general_extend_ope
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #15 from dhowells at redhat dot com ---
That fixes the ICE.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #14 from Kazumoto Kojima ---
Created attachment 33372
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33372&action=edit
A possible patch
It seems that the ICE in #c7 came from the negative shift count.
I'm not sure that the patc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #13 from 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 difference to a compil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #12 from Oleg Endo ---
(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' maybe could solve a f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
Segher Boessenkool changed:
What|Removed |Added
CC||segher at gcc dot gnu.org
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #10 from 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)
{
string_get_size(capacity << -1);
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #9 from Oleg Endo ---
(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':
> ../drivers/scsi/sd.c:1139:1: error: unrecognizab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #8 from Kazumoto Kojima ---
A reduced test case is always welcome.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #7 from 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:
}
^
(insn 1335 1334 9 190 (set
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #6 from 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 truncate in general_exten
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
Kazumoto Kojima changed:
What|Removed |Added
CC||kkojima at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #4 from dhowells at redhat dot com ---
The compiler is gcc-4.9.1, dated 20140717, svnrev 212747.
One patch is applied - see bug 61844.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
Oleg Endo changed:
What|Removed |Added
Target||sh*-*-*
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #2 from dhowells at redhat dot com ---
The binutils is based on the 2.24 branch, git commit
cab6c3ee9785f072a373afe31253df0451db93cf and was built targeting
sh64-linux-elf.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111
--- Comment #1 from 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 line:
Using built-in specs.
C
19 matches
Mail list logo