https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95306
Bug ID: 95306
Summary: Getting __builtin_saddl_overflow gives the error
"unimplemented primitive type for builtin: 42"
Product: gcc
Version: 10.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: bouanto at zoho dot com
Target Milestone: ---
Created attachment 48592
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48592&action=edit
Complete example reproducing this issue
Hi.
Getting the builtin __builtin_sadd_overflow like this:
gcc_jit_function *sadd = gcc_jit_context_get_builtin_function(ctxt,
"__builtin_sadd_overflow");
prints the following error at runtime:
unimplemented primitive type for builtin: 42
Other builtins like __builtin_saddl_overflow works fine.
Thanks to fix this issue.