https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119144
Bug ID: 119144 Summary: [15 Regression] 26_numerics/complex/tuple_like.cc FAIL on i686-linux Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- I see +FAIL: 26_numerics/complex/tuple_like.cc -std=gnu++26 (test for excess errors) The errors are /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:147: error: duplicate explicit instantiation of 'constexpr _Tp& std::get(complex<_Tp>&) [with unsigned int _Int = 0; _Tp = unsigned int]' [-fpermissive] /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:148: error: duplicate explicit instantiation of 'constexpr _Tp& std::get(complex<_Tp>&) [with unsigned int _Int = 1; _Tp = unsigned int]' [-fpermissive] /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:149: error: duplicate explicit instantiation of 'constexpr _Tp&& std::get(complex<_Tp>&&) [with unsigned int _Int = 0; _Tp = unsigned int]' [-fpermissive] /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:150: error: duplicate explicit instantiation of 'constexpr _Tp&& std::get(complex<_Tp>&&) [with unsigned int _Int = 1; _Tp = unsigned int]' [-fpermissive] /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:151: error: duplicate explicit instantiation of 'constexpr const _Tp& std::get(const complex<_Tp>&) [with unsigned int _Int = 0; _Tp = unsigned int]' [-fpermissive] /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:152: error: duplicate explicit instantiation of 'constexpr const _Tp& std::get(const complex<_Tp>&) [with unsigned int _Int = 1; _Tp = unsigned int]' [-fpermissive] /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:153: error: duplicate explicit instantiation of 'constexpr const _Tp&& std::get(const complex<_Tp>&&) [with unsigned int _Int = 0; _Tp = unsigned int]' [-fpermissive] /home/jakub/src/gcc/libstdc++-v3/testsuite/26_numerics/complex/tuple_like.cc:154: error: duplicate explicit instantiation of 'constexpr const _Tp&& std::get(const complex<_Tp>&&) [with unsigned int _Int = 1; _Tp = unsigned int]' [-fpermissive] The problem is IMHO in TEST(unsigned int) TEST(size_t) because on some targets size_t and unsigned int are the same type.