[Bug jit/96066] Cannot use values from some builtins because they are of void type

2021-12-11 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066 Antoni changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug jit/96066] Cannot use values from some builtins because they are of void type

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
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:

[Bug jit/96066] Cannot use values from some builtins because they are of void type

2021-05-17 Thread bouanto at zoho dot com via Gcc-bugs
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. ***

[Bug jit/96066] Cannot use values from some builtins because they are of void type

2021-05-17 Thread bouanto at zoho dot com via Gcc-bugs
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=edit Patch to fix the issues with using atomic builtins I implemented the missing types and fixed the type checking.

[Bug jit/96066] Cannot use values from some builtins because they are of void type

2020-07-10 Thread bouanto at zoho dot com
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)

[Bug jit/96066] Cannot use values from some builtins because they are of void type

2020-07-09 Thread pinskia at gcc dot gnu.org
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.