https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116652
Bug ID: 116652 Summary: No instance of constructor Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: shaklee3 at gmail dot com Target Milestone: --- Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) Command to trigger: cd /host_compiler_testing/COPTer/projects/files/matx/sources/build/test && /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/usr/bin/g++ -save-temps -DCUPY_INSTALLED -DMATX_DISABLE_CUB_CACHE -DMATX_ENABLE_FILEIO -DMATX_ENABLE_PYBIND11 -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_CUDA -DTHRUST_DISABLE_ABI_NAMESPACE -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_IGNORE_ABI_NAMESPACE_ERROR -Dmatx_test_EXPORTS --options-file CMakeFiles/matx_test.dir/includes_CUDA.rsp -O3 -DNDEBUG -std=c++17 "--generate-code=arch=compute_80,code=[sm_80]" -Wall -Wextra -Wcast-align -Wunused -Wshadow -Wno-unknown-pragmas -Wnon-virtual-dtor -Wconversion -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wnull-dereference -Werror all-warnings --threads 0 -ftemplate-backtrace-limit=0 --expt-relaxed-constexpr -DMATX_ROOT=\"/host_compiler_testing/COPTer/projects/files/matx/sources\" -fvisibility=hidden -MD -MT test/CMakeFiles/matx_test.dir/01_radar/MultiChannelRadarPipeline.cu.o -MF CMakeFiles/matx_test.dir/01_radar/MultiChannelRadarPipeline.cu.o.d -x cu -c /host_compiler_testing/COPTer/projects/files/matx/sources/test/01_radar/MultiChannelRadarPipeline.cu -o CMakeFiles/matx_test.dir/01_radar/MultiChannelRadarPipeline.cu.o Error message: /host_compiler_testing/COPTer/projects/files/matx/sources/test/01_radar/MultiChannelRadarPipeline.cu(87): error: no instance of constructor "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" matches the argument list argument types are: (matx::index_t, matx::index_t) tensor_t<TestType, 2>({this->numPulses, this->numSamplesRnd}); ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(235): note #3326-D: function "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t(std::initializer_list<matx::detail::no_size_t>) [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" does not match because argument #1 does not match parameter __attribute__((always_inline)) inline tensor_t(const std::initializer_list<detail::no_size_t> ) : ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(251): note #3322-D: number of parameters of function "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t(const Desc::shape_type (&)[RANK]) [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" does not match the call __attribute__((always_inline)) inline tensor_t(const typename Desc::shape_type (&shape)[RANK]) : ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(222): note #3322-D: number of parameters of function template "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t(D2 &&) [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" does not match the call __attribute__((always_inline)) inline tensor_t(D2 &&desc) : ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(206): note #3322-D: number of parameters of function template "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t(matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, D2 &&, cuda::std::__4::complex<float> *) [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" does not match the call tensor_t(Storage s, D2 &&desc, T* ldata) : ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(191): note #3327-D: candidate function template "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t(S2 &&, D2 &&) [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" failed deduction tensor_t(S2 &&s, D2 &&desc) : ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(126): note #3322-D: number of parameters of function "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t(matx::tensor_t<T, RANK, Storage, Desc> &&) noexcept [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" does not match the call tensor_t(tensor_t &&rhs) noexcept ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(117): note #3322-D: number of parameters of function "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t(const matx::tensor_t<T, RANK, Storage, Desc> &) noexcept [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" does not match the call tensor_t(tensor_t const &rhs) noexcept ^ /host_compiler_testing/COPTer/projects/files/matx/sources/include/matx/core/tensor.h(107): note #3322-D: number of parameters of function "matx::tensor_t<T, RANK, Storage, Desc>::tensor_t() [with T=cuda::std::__4::complex<float>, RANK=2, Storage=matx::basic_storage<matx::raw_pointer_buffer<cuda::std::__4::complex<float>, matx::matx_allocator<cuda::std::__4::complex<float>>>>, Desc=matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 2UL>, cuda::std::__4::array<matx::index_t, 2UL>, 2>]" does not match the call tensor_t() : detail::tensor_impl_t<T, RANK, Desc>{} ^ detected during: instantiation of "void MultiChannelRadarPipelineTypes_PulseCompression_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_=cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>]" at line 457 of /usr/include/gtest/internal/gtest-internal.h implicit generation of "MultiChannelRadarPipelineTypes_PulseCompression_Test<gtest_TypeParam_>::~MultiChannelRadarPipelineTypes_PulseCompression_Test() noexcept [with gtest_TypeParam_=cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>]" at line 457 of /usr/include/gtest/internal/gtest-internal.h instantiation of class "MultiChannelRadarPipelineTypes_PulseCompression_Test<gtest_TypeParam_> [with gtest_TypeParam_=cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>]" at line 457 of /usr/include/gtest/internal/gtest-internal.h implicit generation of "MultiChannelRadarPipelineTypes_PulseCompression_Test<gtest_TypeParam_>::MultiChannelRadarPipelineTypes_PulseCompression_Test() [with gtest_TypeParam_=cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>]" at line 457 of /usr/include/gtest/internal/gtest-internal.h instantiation of class "MultiChannelRadarPipelineTypes_PulseCompression_Test<gtest_TypeParam_> [with gtest_TypeParam_=cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>]" at line 457 of /usr/include/gtest/internal/gtest-internal.h instantiation of "testing::Test *testing::internal::TestFactoryImpl<TestClass>::CreateTest() [with TestClass=MultiChannelRadarPipelineTypes_PulseCompression_Test<cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>>]" at line 726 of /usr/include/gtest/internal/gtest-internal.h implicit generation of "testing::internal::TestFactoryImpl<TestClass>::~TestFactoryImpl() noexcept [with TestClass=MultiChannelRadarPipelineTypes_PulseCompression_Test<cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>>]" at line 726 of /usr/include/gtest/internal/gtest-internal.h instantiation of class "testing::internal::TestFactoryImpl<TestClass> [with TestClass=MultiChannelRadarPipelineTypes_PulseCompression_Test<cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>>]" at line 726 of /usr/include/gtest/internal/gtest-internal.h implicit generation of "testing::internal::TestFactoryImpl<TestClass>::TestFactoryImpl() [with TestClass=MultiChannelRadarPipelineTypes_PulseCompression_Test<cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>>]" at line 726 of /usr/include/gtest/internal/gtest-internal.h instantiation of class "testing::internal::TestFactoryImpl<TestClass> [with TestClass=MultiChannelRadarPipelineTypes_PulseCompression_Test<cuda::std::__4::tuple<cuda::std::__4::complex<float>, matx::cudaExecutor>>]" at line 726 of /usr/include/gtest/internal/gtest-internal.h instantiation of "__nv_bool testing::internal::TypeParameterizedTest<Fixture, TestSel, Types>::Register(const char *, const testing::internal::CodeLocation &, const char *, const char *, int, const std::vector<std::string, std::allocator<std::string>> &) [with Fixture=MultiChannelRadarPipelineTypes, TestSel=testing::internal::TemplateSel<MultiChannelRadarPipelineTypes_PulseCompression_Test>, Types=gtest_type_params_MultiChannelRadarPipelineTypes_]" at line 77 This code was previously working on gcc 12 and below. The function signature appears to match correctly. The files are too large to upload, but are available here: https://file.io/tdAmaMMd6Opf