On 08/20/2015 10:42 AM, Yury Gribov wrote:
Hi all,
GCC builtins BUILT_IN_UBSAN_HANDLE_NONNULL_ARG and
BUILT_IN_UBSAN_HANDLE_NONNULL_ARG_ABORT were using
BT_FN_VOID_PTR_PTRMODE whereas they are really BT_FN_VOID_PTR:
void __ubsan::__ubsan_handle_nonnull_return(NonNullReturnData *Data)
The patch fixes it. I only tested ubsan.exp (I doubt that bootstrap +
full testsuite will add anything to this).
Ok for trunk?
Best regards,
Yury Gribov
fix-ubsan-builtin-types-1.patch
commit d4747c9c7f78789ec7119fce07cd4526c4168ee0
Author: Yury Gribov<y.gri...@samsung.com>
Date: Thu Aug 20 19:10:30 2015 +0300
2015-08-20 Yury Gribov<y.gri...@samsung.com>
gcc/
* sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
BUILT_IN_UBSAN_HANDLE_NONNULL_ARG): Fix builtin types.
OK.
jeff