https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
Kazumoto Kojima kkojima at gcc dot gnu.org changed:
What|Removed |Added
Attachment #33657|0 |1
is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #53 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #52)
Created attachment 33632 [details]
Reduced case of error: in assign_by_spills, at lra-assigns.c:1335 with -m4
-ml -O2
.ira dump of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #54 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33657
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33657action=edit
A possible workaround
The patch is trying to fix the result of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #49 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #48)
The array at i = 699 doesn't seem to contain anything valid.
It looks that
(expr_list:DF (use (mem:DF (reg/f:SI 699) [0 S8 A32]))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #50 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Tue Sep 30 22:12:42 2014
New Revision: 215744
URL: https://gcc.gnu.org/viewcvs?rev=215744root=gccview=rev
Log:
PR target/55212
* lra.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #51 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #50)
Author: olegendo
Date: Tue Sep 30 22:12:42 2014
New Revision: 215744
URL: https://gcc.gnu.org/viewcvs?rev=215744root=gccview=rev
Log:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #52 from Oleg Endo olegendo at gcc dot gnu.org ---
Created attachment 33632
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33632action=edit
Reduced case of error: in assign_by_spills, at lra-assigns.c:1335
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #46 from Oleg Endo olegendo at gcc dot gnu.org ---
newlib 1.2.0 now builds without errors here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #47 from Oleg Endo olegendo at gcc dot gnu.org ---
Created attachment 33615
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33615action=edit
reduced CSiBE /libpng-1.2.5 test
I've tried compiling CSiBE (-m4 -ml). This is a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #48 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #47)
Created attachment 33615 [details]
reduced CSiBE /libpng-1.2.5 test
I've tried compiling CSiBE (-m4 -ml). This is a stripped down
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #40 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
I've tried to see what is going on with reload loop on movsf_ie
for gcc.c-torture/compile/20050113-1.c -O1 -m4 -ml.
It looks that the problem starts at reloading
(insn 15 10 18
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #41 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33601
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33601action=edit
A trial patch for reload-loop problem
My first trial is to define a special
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #42 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Kazumoto Kojima from comment #41)
Created attachment 33601 [details]
A trial patch for reload-loop problem
My first trial is to define a special movsf_ie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #43 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #42)
PR 54699 comes into my mind when seeing the movsf_ie patterns ... having
another movsf_ie pattern is discomforting. But if it makes it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #44 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Author: kkojima
Date: Mon Sep 29 01:24:33 2014
New Revision: 215676
URL: https://gcc.gnu.org/viewcvs?rev=215676root=gccview=rev
Log:
PR target/55212
* config/sh/sh-protos.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #45 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Author: kkojima
Date: Mon Sep 29 01:27:03 2014
New Revision: 215677
URL: https://gcc.gnu.org/viewcvs?rev=215677root=gccview=rev
Log:
PR target/55212
* config/sh/sh.md
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #33 from Hans-Peter Nilsson hp at gcc dot gnu.org ---
(In reply to Kazumoto Kojima from comment #32)
Patch for SH untyped_call
config/sh/sh.md (untyped_call): Clobber function value registers before
call.
(Sorry for butting in;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #34 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
(In reply to Hans-Peter Nilsson from comment #33)
Will clobbering function-value registers before the call not cause problems
on SH5, where function-value registers and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #35 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Kazumoto Kojima from comment #32)
Created attachment 33557 [details]
Patch for SH untyped_call
* config/sh/sh.md (untyped_call): Clobber function value
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #36 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #35)
I'm just wondering ... how did/does that work without LRA (i.e. with IRA)?
I'm not sure about the old reload. LRA makes only 3 uses of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #37 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Kazumoto Kojima from comment #36)
I'm not sure about the old reload. LRA makes only 3 uses of r0 and it's
relatively easy to see what is going on there with .reload
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #38 from Hans-Peter Nilsson hp at gcc dot gnu.org ---
(In reply to Kazumoto Kojima from comment #34)
For reference,
i386.md emits a blockage (i.e. *using* and clobbering all
registers).
It
looks all ports including SH emit a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #39 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
(In reply to Hans-Peter Nilsson from comment #38)
Hm, you're right, but to me that indicates the patch covering-up a bug
elsewhere than in the sh port.
Would it be better to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #31 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33556
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33556action=edit
A bit reduced test case of pr38338.c (-O0 -m4 -ml)
That case has only one basic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #32 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33557
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33557action=edit
Patch for SH untyped_call
* config/sh/sh.md (untyped_call): Clobber function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
Oleg Endo olegendo at gcc dot gnu.org changed:
What|Removed |Added
CC||vmakarov at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #25 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33524
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33524action=edit
Reduced test case for ICE in assign_by_spill
I've looked into what is going on for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #26 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33525
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33525action=edit
.reload dump file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #27 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33526
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33526action=edit
A trial patch
It disables equiv substitution when the equiv includes some reg
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #28 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33527
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33527action=edit
Another reduced test case (with -m4 -ml -O2 -std=gnu99)
Here is a test case for the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #29 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33528
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33528action=edit
A trial patch
The patch is to refrain from changing to class R0_REGS for r943.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #21 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
I've run check-gcc for sh-lra branch on sh4-unknown-linux-gnu
and got
=== gcc Summary ===
# of expected passes83035
# of unexpected failures
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #22 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Created attachment 33505
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33505action=edit
A possible patch
These last two errors could be fixed with the attached patch:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #23 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Kazumoto Kojima from comment #22)
Created attachment 33505 [details]
A possible patch
These last two errors could be fixed with the attached patch:
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #24 from Kazumoto Kojima kkojima at gcc dot gnu.org ---
Author: kkojima
Date: Wed Sep 17 23:24:40 2014
New Revision: 215341
URL: https://gcc.gnu.org/viewcvs?rev=215341root=gccview=rev
Log:
PR target/55212
* config/sh/predicates.md
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #20 from Oleg Endo olegendo at gcc dot gnu.org ---
Vlad, do you have any idea/suggestion what could be going wrong in this case?
Also, could you please have a look at the patch applied to the sh-lra branch as
r215246 and see whether
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #4 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #2)
However, building __divsc3 still fails for -m2 -mb, now with the
following:
beh 0 0 0
(insn 1159 1008 1120 27 (set (reg:QI 625)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #5 from Oleg Endo olegendo at gcc dot gnu.org ---
Compiling the gcc.dg/atomic/c11-atomic-exec-4.c test case with '-O2 -m4 -ml
-matomic-model=soft-gusa' results in the following:
beh
(insn 207 206 208 6 (set (reg/f:SI 14 r14 [275])
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #6 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sat Sep 13 16:23:55 2014
New Revision: 215240
URL: https://gcc.gnu.org/viewcvs?rev=215240root=gccview=rev
Log:
PR target/55212
* lra.c: fix comments. print
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #7 from Oleg Endo olegendo at gcc dot gnu.org ---
An issue similar to that in c#5 has been reported here:
https://gcc.gnu.org/ml/gcc/2014-04/msg00273.html
I've tried applying that patch, but it doesn't fix the issue in c#2 nor c#5.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #8 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sat Sep 13 18:53:54 2014
New Revision: 215241
URL: https://gcc.gnu.org/viewcvs?rev=215241root=gccview=rev
Log:
PR target/55212
* predicates.md
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #9 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #8)
Author: olegendo
Date: Sat Sep 13 18:53:54 2014
New Revision: 215241
URL: https://gcc.gnu.org/viewcvs?rev=215241root=gccview=rev
Log:
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #10 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #9)
The next failure is:
gcc-sh-lra-build-sh-elf/sh-elf/libstdc++-v3/include/bits/locale_facets_nonio.
h:1564:66: internal compiler error:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #11 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sat Sep 13 20:21:00 2014
New Revision: 215243
URL: https://gcc.gnu.org/viewcvs?rev=215243root=gccview=rev
Log:
PR target/55212
* predicates.md
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #12 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #11)
Author: olegendo
Date: Sat Sep 13 20:21:00 2014
New Revision: 215243
URL: https://gcc.gnu.org/viewcvs?rev=215243root=gccview=rev
Log:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #13 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sat Sep 13 20:40:21 2014
New Revision: 215244
URL: https://gcc.gnu.org/viewcvs?rev=215244root=gccview=rev
Log:
PR target/55212
* Remove
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #14 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sat Sep 13 21:32:27 2014
New Revision: 215246
URL: https://gcc.gnu.org/viewcvs?rev=215246root=gccview=rev
Log:
PR target/55212
* Apply patch from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #15 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #14)
Author: olegendo
Date: Sat Sep 13 21:32:27 2014
New Revision: 215246
URL: https://gcc.gnu.org/viewcvs?rev=215246root=gccview=rev
Log:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #16 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #5)
Compiling the gcc.dg/atomic/c11-atomic-exec-4.c test case with '-O2 -m4 -ml
-matomic-model=soft-gusa' results in the following:
This
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #17 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sat Sep 13 22:13:56 2014
New Revision: 215247
URL: https://gcc.gnu.org/viewcvs?rev=215247root=gccview=rev
Log:
PR target/55212
* lra-constraints.c: Print insn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #18 from Oleg Endo olegendo at gcc dot gnu.org ---
Created attachment 33489
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33489action=edit
Reduced case for MAX_RELOAD_INSNS_NUMBER
This fails when compiling with -O2 -m2e -m{l|b}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #19 from Oleg Endo olegendo at gcc dot gnu.org ---
(In reply to Oleg Endo from comment #18)
Created attachment 33489 [details]
Reduced case for MAX_RELOAD_INSNS_NUMBER
This fails when compiling with -O2 -m2e -m{l|b} with:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
Oleg Endo olegendo at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #3 from Oleg Endo olegendo at gcc dot gnu.org ---
Created attachment 33465
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33465action=edit
problematic libgcc divsc3 function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #1 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sun Aug 3 09:47:15 2014
New Revision: 213524
URL: https://gcc.gnu.org/viewcvs?rev=213524root=gccview=rev
Log:
PR target/55212
Create branch.
Added:
55 matches
Mail list logo