https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #17 from Oleg Endo ---
(In reply to Rin Okuyama from comment #16)
> The fix has been cherry-picked for NetBSD:
> https://mail-index.netbsd.org/source-changes/2023/07/18/msg146078.html
>
> Let me thank you again, Oleg!
Sure, you're
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #16 from Rin Okuyama ---
The fix has been cherry-picked for NetBSD:
https://mail-index.netbsd.org/source-changes/2023/07/18/msg146078.html
Let me thank you again, Oleg!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
Oleg Endo changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #14 from CVS Commits ---
The releases/gcc-13 branch has been updated by Oleg Endo
:
https://gcc.gnu.org/g:ef4b6d29d9801c970bee1b3e8675b19ef5f61d2a
commit r13-7563-gef4b6d29d9801c970bee1b3e8675b19ef5f61d2a
Author: Oleg Endo
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #13 from CVS Commits ---
The releases/gcc-12 branch has been updated by Oleg Endo
:
https://gcc.gnu.org/g:5f20f736c1144dd9f2ae2f99099b7f7b21a3ab4e
commit r12-9772-g5f20f736c1144dd9f2ae2f99099b7f7b21a3ab4e
Author: Oleg Endo
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #12 from CVS Commits ---
The releases/gcc-11 branch has been updated by Oleg Endo
:
https://gcc.gnu.org/g:75b8353e4b61566f7e8ac627204e2bcd6bfe60a6
commit r11-10909-g75b8353e4b61566f7e8ac627204e2bcd6bfe60a6
Author: Oleg Endo
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #11 from CVS Commits ---
The master branch has been updated by Oleg Endo :
https://gcc.gnu.org/g:4dbb3af1efe55174a714d15c2994cf2842ef8c28
commit r14-2511-g4dbb3af1efe55174a714d15c2994cf2842ef8c28
Author: Oleg Endo
Date: Fri Jul
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #10 from Rin Okuyama ---
(In reply to Oleg Endo from comment #9)
> Sorry for being late for 2 years with this.
...
> Unfortunately GCC 10.5 has just been released recently and that was the last
> version 10.
> So the patch will be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #9 from Oleg Endo ---
(In reply to Rin Okuyama from comment #8)
> (In reply to Oleg Endo from comment #7)
>
> Hi Oleg. Thank you very much for your great work!
>
> I've tested your patch with GCC 10.4.0 in this weekend, and it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #8 from Rin Okuyama ---
(In reply to Oleg Endo from comment #7)
Hi Oleg. Thank you very much for your great work!
I've tested your patch with GCC 10.4.0 in this weekend, and it perfectly
worked:
- testcase attached to comment #0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #7 from Oleg Endo ---
Created attachment 55498
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55498=edit
also change address register when applying the peephole
The attached patch should fix the issue without removing the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
Oleg Endo changed:
What|Removed |Added
Last reconfirmed||2023-07-07
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #6 from Rin Okuyama ---
(In reply to Rin Okuyama from comment #3)
> If that peephole is removed, GCC 10.3 generates working codes.
>
> NetBSD/shle built by this compiler works fine as far as I can see.
> I'm carrying out full
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #5 from Rin Okuyama ---
Thank you for your kind attention! I look forward to hearing from you.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #4 from Oleg Endo ---
(In reply to Rin Okuyama from comment #3)
> Thank you very much for your analysis!
>
> If that peephole is removed, GCC 10.3 generates working codes.
>
> NetBSD/shle built by this compiler works fine as far
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #3 from Rin Okuyama ---
Thank you very much for your analysis!
If that peephole is removed, GCC 10.3 generates working codes.
NetBSD/shle built by this compiler works fine as far as I can see.
I'm carrying out full regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #2 from Valeriy E. Ushakov ---
I don't have the latest gcc handy, but I see this bug already in an old netbsd
tree from about an year ago with gcc 8.4.0
As hgutch@n.o pointed out, this seems to be a problem with this peephole2:
;;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #1 from Rin Okuyama ---
I've confirmed that the problem also occurs for sh3-none-elf:
$ sh3-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/pkg/cross-sh3-none-elf/bin/sh3-none-elf-gcc
18 matches
Mail list logo