From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D7C4B385220C; Mon, 28 Nov 2022 12:05:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7C4B385220C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669637138; bh=CjCaZjPQVIQnCv5SbBbmJUlxuHIpqz3HNGliNioI+X8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Kb5l4LvgpR3JS9aBXyLa5fYgfvms5y2dPPO083r4E+R2Yl0fBNscp4mwQoVsCIUC1 elD532Fg588knuriXEM+qq6vlCCcjsMcyXrNaptI1xnkuC+PdobOltwCSW4JC3wLZT NBxubanEapcUgeQ9yrmGBXJhtCkdaNzf55DVudTE= From: "lukaszcz18 at wp dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/107886] Problem witch std::latch, std::binary_semaphores in C++20 Date: Mon, 28 Nov 2022 12:05:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lukaszcz18 at wp dot pl X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107886 --- Comment #12 from Jamaika --- with 'latch.h' ``` Using built-in specs. COLLECT_GCC=3Dg++.exe Target: x86_64-w64-mingw32 Configured with: /home/ma/m/source/gcc-g/configure --host=3Dx86_64-w64-ming= w32 --target=3Dx86_64-w64-mingw32 --disable-nls --enable-languages=3Dc,c++,objc= ,obj-c++ --with-gmp=3D/home/ma/m/build/for_target --with-mpfr=3D/home/ma/m/build/for= _target --with-mpc=3D/home/ma/m/build/for_target --with-isl=3D/home/ma/m/build/for_= target --enable-twoprocess --disable-libstdcxx-pch --disable-win32-registry --disable-shared --enable-fully-dynamic-string --enable-libssp --prefix=3D/home/ma/m/target --with-sysroot=3D/home/ma/m/target Thread model: win32 Supported LTO compression algorithms: zlib gcc version 13.0.0 20221124 (experimental) (GCC) COLLECT_GCC_OPTIONS=3D'-v' '-std=3Dgnu++20' '-ftree-vectorize' '-D' 'WINVER= =3D0x0602' '-D' '_WIN32_WINNT=3D0x0602' '-g0' '-O3' '-c' '-o' 'latch_windows.o' '-mtune=3Dgeneric' '-march=3Dx86-64' c:/gcc1300/bin/../libexec/gcc/x86_64-w64-mingw32/13.0.0/cc1plus.exe -quiet= -v -iprefix c:\gcc1300\bin\../lib/gcc/x86_64-w64-mingw32/13.0.0/ -U_REENTRANT = -D WINVER=3D0x0602 -D _WIN32_WINNT=3D0x0602 latch_windows.cpp -quiet -dumpbase latch_windows.cpp -dumpbase-ext .cpp -mtune=3Dgeneric -march=3Dx86-64 -g0 -= O3 -std=3Dgnu++20 -version -ftree-vectorize -o C:\Users\KOMPUT~1\AppData\Local\Temp\cc7P0VYd.s GNU C++20 (GCC) version 13.0.0 20221124 (experimental) (x86_64-w64-mingw32) compiled by GNU C version 13.0.0 20221124 (experimental), GMP versi= on 6.2.1, MPFR version 4.1.1, MPC version 1.2.1, isl version isl-0.24-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 ignoring duplicate directory "c:/gcc1300/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../inc= lude/c++/13.0.0" ignoring duplicate directory "c:/gcc1300/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../inc= lude/c++/13.0.0/x86_64-w64-mingw32" ignoring duplicate directory "c:/gcc1300/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../inc= lude/c++/13.0.0/backward" ignoring duplicate directory "c:/gcc1300/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.0/include" ignoring nonexistent directory "/home/ma/m/target/home/ma/m/target/lib/gcc/x86_64-w64-mingw32/13.0.0/../..= /../../include" ignoring duplicate directory "c:/gcc1300/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.0/include-fixed" ignoring duplicate directory "c:/gcc1300/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86= _64-w64-mingw32/include" ignoring nonexistent directory "/home/ma/m/target/mingw/include" #include "..." search starts here: #include <...> search starts here: c:\gcc1300\bin\../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../include/c++= /13.0.0 c:\gcc1300\bin\../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../include/c++= /13.0.0/x86_64-w64-mingw32 c:\gcc1300\bin\../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../include/c++= /13.0.0/backward c:\gcc1300\bin\../lib/gcc/x86_64-w64-mingw32/13.0.0/include c:\gcc1300\bin\../lib/gcc/x86_64-w64-mingw32/13.0.0/include-fixed c:\gcc1300\bin\../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86_64-w64-= mingw32/include End of search list. GNU C++20 (GCC) version 13.0.0 20221124 (experimental) (x86_64-w64-mingw32) compiled by GNU C version 13.0.0 20221124 (experimental), GMP versi= on 6.2.1, MPFR version 4.1.1, MPC version 1.2.1, isl version isl-0.24-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: 2b6c2fb9839dec486c0793745b5cdfdc COLLECT_GCC_OPTIONS=3D'-v' '-std=3Dgnu++20' '-ftree-vectorize' '-D' 'WINVER= =3D0x0602' '-D' '_WIN32_WINNT=3D0x0602' '-g0' '-O3' '-c' '-o' 'latch_windows.o' '-mtune=3Dgeneric' '-march=3Dx86-64' c:/gcc1300/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86_64-w64-= mingw32/bin/as.exe -v -o latch_windows.o C:\Users\KOMPUT~1\AppData\Local\Temp\cc7P0VYd.s GNU assembler version 2.39 (x86_64-w64-mingw32) using BFD version (GNU Binutils) 2.39 COMPILER_PATH=3Dc:/gcc1300/bin/../libexec/gcc/x86_64-w64-mingw32/13.0.0/;c:= /gcc1300/bin/../libexec/gcc/;c:/gcc1300/bin/../lib/gcc/x86_64-w64-mingw32/1= 3.0.0/../../../../x86_64-w64-mingw32/bin/ LIBRARY_PATH=3Dc:/gcc1300/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/;c:/gcc1= 300/bin/../lib/gcc/;c:/gcc1300/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/../= ../../../x86_64-w64-mingw32/lib/../lib/;c:/gcc1300/bin/../lib/gcc/x86_64-w6= 4-mingw32/13.0.0/../../../../lib/;c:/gcc1300/bin/../lib/gcc/x86_64-w64-ming= w32/13.0.0/../../../../x86_64-w64-mingw32/lib/;c:/gcc1300/bin/../lib/gcc/x8= 6_64-w64-mingw32/13.0.0/../../../ COLLECT_GCC_OPTIONS=3D'-v' '-std=3Dgnu++20' '-ftree-vectorize' '-D' 'WINVER= =3D0x0602' '-D' '_WIN32_WINNT=3D0x0602' '-g0' '-O3' '-c' '-o' 'latch_windows.o' '-mtune=3Dgeneric' '-march=3Dx86-64' '-dumpdir' 'latch_windows.' ```=