https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066
Antoni changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066
--- Comment #5 from CVS Commits ---
The master branch has been updated by Antoni Boucher :
https://gcc.gnu.org/g:611fdb0fc5b95ee15215e2e3679834f311919096
commit r12-5912-g611fdb0fc5b95ee15215e2e3679834f311919096
Author: Antoni Boucher
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066
--- Comment #4 from Antoni ---
*** Bug 96067 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066
--- Comment #3 from Antoni ---
Created attachment 50832
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50832&action=edit
Patch to fix the issues with using atomic builtins
I implemented the missing types and fixed the type checking.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066
--- Comment #2 from Antoni ---
An attempt to use, let's say, __atomic_fetch_add_4, will result in a error
like:
libgccjit.so: error: unimplemented primitive type for builtin (type: BT_I4)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066
--- Comment #1 from Andrew Pinski ---
I think the builtin __atomic_fetch_add should not be used directly from the JIT
front-end, rather __atomic_fetch_add_N should be used instead.