https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116964
Bug ID: 116964 Summary: FAIL: 18_support/comparisons/algorithms/fallback.cc -std=gnu++20 (test for excess errors) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir64/./gcc/xg++ -shared-libgcc -B/ho me/dave/gnu/gcc/objdir64/./gcc -nostdinc++ -L/home/dave/gnu/gcc/objdir64/hppa64- hp-hpux11.11/libstdc++-v3/src -L/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/ libstdc++-v3/src/.libs -L/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc ++-v3/libsupc++/.libs -B/opt/gnu64/gcc/gcc-15/hppa64-hp-hpux11.11/bin/ -B/opt/gn u64/gcc/gcc-15/hppa64-hp-hpux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-15/hppa64-hp -hpux11.11/include -isystem /opt/gnu64/gcc/gcc-15/hppa64-hp-hpux11.11/sys-includ e -fchecking=1 -B/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/./libstdc++-v3/ src/.libs -fmessage-length=0 -fno-show-column -ffunction-sections -fdata-section s -O2 -g -DLOCALEDIR="." -nostdinc++ -I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpu x11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/home/dave/gnu/gcc/objdir64/hp pa64-hp-hpux11.11/libstdc++-v3/include -I/home/dave/gnu/gcc/gcc/libstdc++-v3/lib supc++ -I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backward -I/home/dave/gnu/g cc/gcc/libstdc++-v3/testsuite/util /home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite /18_support/comparisons/algorithms/fallback.cc -std=gnu++20 -include bits/stdc++ .h -fdiagnostics-plain-output -S -o fallback.s In file included from /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++- v3/include/hppa64-hp-hpux11.11/bits/stdc++.h:193, from <command-line>: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x: In lambda function: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x:335: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wd eprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x:335: note: add explicit 'this' or '*this' capture /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x: In lambda function: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x:338: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wd eprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x:338: note: add explicit 'this' or '*this' capture /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x: In lambda function: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mute x:370: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:370: note: add explicit 'this' or '*this' capture /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex: In lambda function: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:693: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:693: note: add explicit 'this' or '*this' capture /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex: In lambda function: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:699: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:699: note: add explicit 'this' or '*this' capture /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex: In lambda function: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:719: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:719: note: add explicit 'this' or '*this' capture FAIL: 18_support/comparisons/algorithms/fallback.cc -std=gnu++20 (test for excess errors) Excess errors: /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:335: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:338: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:370: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:693: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:699: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] /home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/shared_mutex:719: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] There are lots of similar errors.