https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |13.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581
--- Comment #10 from Marc Poulhiès ---
Thanks for applying the fix Ian!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107581
Ian Lance Taylor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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
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
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
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
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 -
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
>
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
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
11 matches
Mail list logo