[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-02-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 Oleg Endo changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 --- Comment #8 from Oleg Endo --- The issue should be fixed now. I'd like to keep this PR open for a while though. Maybe we can construct a runtime torture test case, although it seems a bit difficult.

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-12 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 --- Comment #7 from Oleg Endo --- Author: olegendo Date: Tue Jan 13 01:18:56 2015 New Revision: 219508 URL: https://gcc.gnu.org/viewcvs?rev=219508&root=gcc&view=rev Log: gcc/ Backport form mainline 2015-01-13 Oleg Endo PR target/

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-12 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 --- Comment #6 from Oleg Endo --- Author: olegendo Date: Tue Jan 13 01:01:14 2015 New Revision: 219507 URL: https://gcc.gnu.org/viewcvs?rev=219507&root=gcc&view=rev Log: gcc/ Backport form mainline 2015-01-13 Oleg Endo PR target/

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-12 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 --- Comment #5 from Oleg Endo --- Author: olegendo Date: Tue Jan 13 00:30:57 2015 New Revision: 219506 URL: https://gcc.gnu.org/viewcvs?rev=219506&root=gcc&view=rev Log: gcc/ PR target/64479 * rtlanal.c (set_reg_p): Handle SEQUENCE const

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-09 Thread oshima...@yagoto-urayama.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 --- Comment #4 from Yasushi Oshima --- > Both patches fix the problem here, but I haven't tested them further. My > feeling is that the function reg_set_p should be fixed. I tried to patch to reg_set_p(), then this problem is fixed. And the nat

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-09 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 --- Comment #3 from Oleg Endo --- (In reply to Oleg Endo from comment #2) > > > I haven't checked it, but maybe this also helps PR 56451 in some way. > Unfortunately it doesn't.

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.8.5

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-06 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 --- Comment #2 from Oleg Endo --- The *cbranch_t splitter is done like 4 times, because there are 4 split passes. The last split pass is split5, which is done right after the delayed-branch pass. Before delayed-branch handling the call insn loo

[Bug target/64479] [4.8 Regression][SH] wrong optimization delayed-branch

2015-01-06 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64479 Oleg Endo changed: What|Removed |Added Target|sh3 |sh*-*-* Status|UNCONFIRMED