https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113038
Bug ID: 113038 Summary: [14 regression] Excess errors for g++.dg/modules/hello-1_b.C after r14-6569-gfe54b57728c09a Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:fe54b57728c09ab0389e2bb3f079d5210566199d, r14-6569-gfe54b57728c09a FAIL: g++.dg/modules/hello-1 -std=c++2b execute FAIL: g++.dg/modules/hello-1_b.C -std=c++2b (test for excess errors) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++13/../../xg++ -B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++13/../../ /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/hello-1_b.C -fdiagnostics-plain-output -nostdinc++ -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++2b -pedantic-errors -Wno-long-long -fmodules-ts -S -o hello-1_b.s^M /home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_classes.tcc: In instantiation of 'const _Facet* std::__try_use_facet@hello(const locale@hello&) [with _Facet = ctype@hello<char>]':^M /home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_classes.tcc:200:59: required from 'const _Facet& std::use_facet@hello(const locale@hello&) [with _Facet = ctype@hello<char>]'^M /home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets_nonio.tcc:1573:63: required from '_InIter std::__cxx11::time_get@hello<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, tm*, char, char) const [with _CharT = char; _InIter = std::istreambuf_iterator<char, std::char_traits<char> >; iter_type = std::istreambuf_iterator<char, std::char_traits<char> >; std::ios_base::iostate = std::ios_base::iostate]'^M /home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets_nonio.tcc:1567:5: required from here^M <built-in>: warning: new declaration 'void* __cxxabiv1::__dynamic_cast(const void*, const __class_type_info*, const __class_type_info*, long int)' ambiguates built-in declaration 'void* __cxxabiv1::__dynamic_cast@hello(const void*, const __class_type_info@hello*, const __class_type_info@hello*, long int)' [-Wbuiltin-declaration-mismatch]^M FAIL: g++.dg/modules/hello-1_b.C -std=c++2b (test for excess errors) Excess errors: <built-in>: warning: new declaration 'void* __cxxabiv1::__dynamic_cast(const void*, const __class_type_info*, const __class_type_info*, long int)' ambiguates built-in declaration 'void* __cxxabiv1::__dynamic_cast@hello(const void*, const __class_type_info@hello*, const __class_type_info@hello*, long int)' [-Wbuiltin-declaration-mismatch] commit fe54b57728c09ab0389e2bb3f079d5210566199d (HEAD) Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Dec 14 23:23:34 2023 +0000 libstdc++: Implement C++23 <print> header [PR107760]