__builtin_neon_vld1q_v() won't accept 64-bit (unsigned long *) on aarch64 #19266
Labels
bugzilla
Issues migrated from bugzilla
clang
Clang issues not falling into any other category
worksforme
Resolved as "works for me"
Extended Description
clang --target=aarch64-linux-gnu -xc -c - << EOF
#include <arm_neon.h>
void fn(unsigned long *p, uint64x2_t v) { vst1q_u64(p, v); }
EOF
gives me:
:2:54: warning: incompatible pointer types assigning to 'unsigned long long *' from 'unsigned long *' [-Wincompatible-pointer-types]
Changing the pointer type to long long fixes things; unfortunately my /usr/aarch64-linux-gnu/include/stdint.h has uint64_t as simply
unsigned long
.The text was updated successfully, but these errors were encountered: