# cat test.c
typedef int i32x4 __attribute__((__vector_size__(16)));
i32x4 mod(i32x4 a, i32x4 b) {
return a % b;
}
# opt/nvidia/hpc_sdk/Linux_x86_64/2021/compilers/bin/nvc -c -o test.o test.c
NVC++-S-0000-Internal compiler error. iliutil.c:dt_to_mthtype, unexpected mtype 1 (test.c: 4)
NVC++/x86-64 Linux 21.3-0: compilation completed with severe errors
# /opt/nvidia/hpc_sdk/Linux_x86_64/2021/compilers/bin/nvc --version
nvc 21.3-0 LLVM 64-bit target on x86-64 Linux -tp haswell
NVIDIA Compilers and Tools
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
Thanks nemequ1729. I’ve filed a problem report, TPR #30104, and sent it engineering for further investigations.
-Mat