[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-10 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 --- Comment #10 from Marc Poulhiès --- Thanks for applying the fix Ian!

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-09 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 --- Comment #8 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:219f82070903625d6bd8865b5ecb5f944bcee871 commit r13-3868-g219f82070903625d6bd8865b5ecb5f944bcee871 Author: Ian Lance Taylor

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-09 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 --- Comment #7 from Ian Lance Taylor --- Interesting, thanks. The Go frontend will never emit a call to __atomic_fetch_add_4. I didn't realize that the middle end could convert __atomic_add_fetch_4 into that. Your patch looks right. I'll

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-09 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 --- Comment #6 from Marc Poulhiès --- IIUC, the builtin for ADD_FETCH_4 is correctly defined (there's an entry with a corresponding decl), but there's no builtin for FETCH_ADD_4. When looking in go-gcc.cc, I see that only the ADD_FETCH is

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-09 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 --- Comment #5 from Marc Poulhiès --- Created attachment 53862 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53862=edit naive patch

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-09 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 --- Comment #4 from Marc Poulhiès --- You're correct, builtin_decl_explicit returns NULL. As for the lib and fcode: 8186 { 8187enum built_in_function lib; 8188mode = get_builtin_sync_mode (fcode -

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-08 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 --- Comment #3 from Marc Poulhiès --- (In reply to Ian Lance Taylor from comment #1) > This crash appears to be fairly deep in the middle-end. Nothing has changed > recently in the Go frontend. Has this crash just started appearing, or is >

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 Richard Biener changed: What|Removed |Added Version|unknown |12.2.0 --- Comment #2 from Richard

[Bug target/107581] ICE on sparc-leon-uclibc during go build

2022-11-08 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #1