https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129129
Bug ID: 129129
Summary: [17 Regression] [C++23] in verify_ctor_sanity, at
cp/constexpr.cc:7448 since
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: lukaszcz18 at wp dot pl
Target Milestone: ---
Created attachment 66323
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66323&action=edit
File .ii only with enter hex 0A
In 15.2.0 Rev 9 it works.
In file included from
C:/gcc1700/x86_64-w64-mingw32/include/cub/device/dispatch/dispatch_batch_memcpy.cuh:20,
from
C:/gcc1700/x86_64-w64-mingw32/include/cub/device/device_copy.cuh:27,
from C:/gcc1700/x86_64-w64-mingw32/include/cub/cub.cuh:47,
from argsort.cu:4:
C:/gcc1700/x86_64-w64-mingw32/include/cub/agent/agent_batch_memcpy.cuh: In
function
'cub::_V_300500_SM___CUDA_ARCH_LIST__::detail::batch_memcpy::PointerRange<VectorT>
cub::_V_300500_SM___CUDA_ARCH_LIST__::detail::batch_memcpy::GetAlignedPtrs(const
void*, void*, ByteOffsetT)':
C:/gcc1700/x86_64-w64-mingw32/include/cub/agent/agent_batch_memcpy.cuh:203:62:
internal compiler error: in verify_ctor_sanity, at cp/constexpr.cc:7448
203 | constexpr auto in_datatype_size = uint32_t{sizeof(uint32_t)};
| ^
C:/gcc1700/bin/../libexec/gcc/x86_64-w64-mingw32/17.0.0/cc1plus.exe -quiet
-iprefix C:/gcc1700/bin/../lib/gcc/x86_64-w64-mingw32/17.0.0/ -D_MT
-D_REENTRANT -D _FORTIFY_SOURCE=2 -D _FILE_OFFSET_BITS=64 -D __CUDA_ARCH__=1350
-D __CUDACC__ -D __NVCC__ -D __CUDACC_VER_MAJOR__=13 -D __CUDACC_VER_MINOR__=5
-D __CUDACC_VER_BUILD__=37 -D WHISPER_VERSION="1.9.5-5922450" -D GGML_USE_CPU=1
-D GGML_USE_OPENCL=1 -D GGML_USE_CUDA=1 -D NGGML_CUDA_USE_GRAPHS -U
GGML_OPENCL_SOA_Q -D GGML_OPENCL_PROFILING=1 -D GGML_OPENCL_TARGET_VERSION=300
-D __NV_NO_HOST_COMPILER_CHECK=1 -D __CUDA_API_VERSION_INTERNAL=1 -D
__CUDA_INTERNAL_SKIP_CPP_HEADERS__=1 -D CUDA_API_PER_THREAD_DEFAULT_STREAM=1 -D
_CRTBLD=1 -D __CORRECT_ISO_CPP_MATH_H_PROTO=1 -D _GLIBCXX_MATH_H=1 -D
_GLIBCXX_USE_C99_DYNAMIC=1 -include cudart/cuda_runtime.h argsort.cu -quiet
-dumpbase argsort.cu -dumpbase-ext .cu -m64 -march=x86-64-v3 -mtune=generic
-mthreads -mavx2 -mbmi -mbmi2 -mlzcnt -mfma -mmovbe -mhle -g0 -O3 -Wcomment
-Wformat=1 -Wshift-negative-value -Wsign-compare -Wtype-limits -Warray-bounds=1
-Wparentheses -Wlogical-not-parentheses -std=gnu++23 -o
C:\Users\komp_\AppData\Local\Temp\cc9zLa9e.s
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.