Re: libstdc++ and missing RUNPATH

2024-05-29 Thread Jonathan Wakely via Gcc
On Wed, 29 May 2024 at 09:15, Sad Clouds via Gcc wrote: > > On Wed, 29 May 2024 09:05:50 +0200 > Richard Biener wrote: > > > If you build an executable to pick up libstdc++ via a RUNPATH that apps > > RUNPATH > > should apply to libgcc as well. If you use LD_LIBRARY_PATH the story > > is the

[gcc r13-8804] libstdc++: Guard use of sized deallocation [PR114940]

2024-05-28 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:67434fec24bef0faeec0eb402f82ca7e43a4a112 commit r13-8804-g67434fec24bef0faeec0eb402f82ca7e43a4a112 Author: Jonathan Wakely Date: Wed May 22 10:32:43 2024 +0100 libstdc++: Guard use of sized deallocation [PR114940] Clang does not enable -fsized-deallocation

Re: configure adds -std=gnu++11 to CXX variable

2024-05-28 Thread Jonathan Wakely via Gcc
On Tue, 28 May 2024, 02:51 Paul Eggert, wrote: > On 2024-05-27 12:18, Jakub Jelinek wrote: > > Maybe respect the carefully chosen compiler default (unless explicitly > > overridden in configure.ac)? > > Autoconf gave up on that idea long ago, as we had bad experiences with > compiler defaults

Re: configure adds -std=gnu++11 to CXX variable

2024-05-28 Thread Jonathan Wakely via Gcc
On Tue, 28 May 2024, 07:24 Florian Weimer via Gcc, wrote: > * Paul Eggert: > > > On 2024-05-27 03:35, Florian Weimer wrote: > >> Does this turn on experimental language modes by default? That's > >> probably not what we want. > > > > What do C++ developers want these days? Autoconf should have

[gcc r15-782] libstdc++: Add [[nodiscard]] to some std::locale functions

2024-05-22 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:fd1a674ff5f37e74fbbdcdb85d78399e963eb401 commit r15-782-gfd1a674ff5f37e74fbbdcdb85d78399e963eb401 Author: Jonathan Wakely Date: Wed May 22 18:38:36 2024 +0100 libstdc++: Add [[nodiscard]] to some std::locale functions libstdc++-v3/ChangeLog:

[gcc r15-780] libstdc++: Guard use of sized deallocation [PR114940]

2024-05-22 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:b2fdd508d7e63158e9d2a6dd04f901d02900def3 commit r15-780-gb2fdd508d7e63158e9d2a6dd04f901d02900def3 Author: Jonathan Wakely Date: Wed May 22 10:32:43 2024 +0100 libstdc++: Guard use of sized deallocation [PR114940] Clang does not enable -fsized-deallocation by

[gcc r15-770] libstdc++: Implement std::formatter without [PR115099]

2024-05-22 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:1a5e4dd83788ea4c049d354d83ad58a6a3d747e6 commit r15-770-g1a5e4dd83788ea4c049d354d83ad58a6a3d747e6 Author: Jonathan Wakely Date: Fri May 17 10:55:32 2024 +0100 libstdc++: Implement std::formatter without [PR115099] The std::thread::id formatter uses

[gcc r13-8788] libstdc++: Fix handling of surrogate CP in codecvt [PR108976]

2024-05-21 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:bd5e672303f5f777e8927a746d3ee42db21d871b commit r13-8788-gbd5e672303f5f777e8927a746d3ee42db21d871b Author: Dimitrij Mijoski Date: Thu Sep 28 21:38:11 2023 +0200 libstdc++: Fix handling of surrogate CP in codecvt [PR108976] This patch fixes the handling of

[gcc r13-8787] c++: Fix std dialect hint for std::to_address [PR107800]

2024-05-21 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:0a9df2c711f40e067cd57707d8e623136ae4efbe commit r13-8787-g0a9df2c711f40e067cd57707d8e623136ae4efbe Author: Jonathan Wakely Date: Tue May 21 13:16:33 2024 +0100 c++: Fix std dialect hint for std::to_address [PR107800] The correct dialect for std::to_address

[gcc r14-10227] c++: Fix std dialect hint for std::to_address [PR107800]

2024-05-21 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:5b96d547ce71b8f03ddbc2318c64618110839e20 commit r14-10227-g5b96d547ce71b8f03ddbc2318c64618110839e20 Author: Jonathan Wakely Date: Tue May 21 13:16:33 2024 +0100 c++: Fix std dialect hint for std::to_address [PR107800] The correct dialect for std::to_address

[gcc r15-760] c++: Fix std dialect hint for std::to_address [PR107800]

2024-05-21 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:826a7d3d19d3ebf04e21d6f1c89eb341a36fb5d1 commit r15-760-g826a7d3d19d3ebf04e21d6f1c89eb341a36fb5d1 Author: Jonathan Wakely Date: Tue May 21 13:16:33 2024 +0100 c++: Fix std dialect hint for std::to_address [PR107800] The correct dialect for std::to_address is

Re: GCC Installation breaks older header files

2024-05-21 Thread Jonathan Wakely via Gcc-bugs
This mailing list is for automated mail from our bugzilla database, not for reporting bugs. It looks like you should be using the gcc-help mailing list anyway, not reporting a bug. I've CC'd that list. Please remove the gcc-bugs mailing list from the CC list when replying. On 20/05/24 20:48

[gcc r14-10208] libstdc++: Guard dynamic_cast use in src/c++23/print.cc [PR115015]

2024-05-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:eefa4c06483f95f5076687ed6aae5c6001731164 commit r14-10208-geefa4c06483f95f5076687ed6aae5c6001731164 Author: Jonathan Wakely Date: Tue May 14 14:32:23 2024 +0100 libstdc++: Guard dynamic_cast use in src/c++23/print.cc [PR115015] Do not use dynamic_cast

[gcc r15-481] libstdc++: Fix typo in std::stacktrace::max_size [PR115063]

2024-05-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:ccc26a1af07b34ce2e7d3b2497f27992d1b1bbc2 commit r15-481-gccc26a1af07b34ce2e7d3b2497f27992d1b1bbc2 Author: Jonathan Wakely Date: Mon May 13 16:25:13 2024 +0100 libstdc++: Fix typo in std::stacktrace::max_size [PR115063] libstdc++-v3/ChangeLog:

[gcc r13-8769] libstdc++: Fix typo in Doxygen comment

2024-05-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:ebc61a9c4c730bf5562db25b1fcc06d615e33e66 commit r13-8769-gebc61a9c4c730bf5562db25b1fcc06d615e33e66 Author: Jonathan Wakely Date: Thu Apr 25 13:52:00 2024 +0100 libstdc++: Fix typo in Doxygen comment libstdc++-v3/ChangeLog: *

[gcc r13-8768] libstdc++: Fix run_doxygen for Doxygen 1.10 man page format

2024-05-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:bce15a5d7d2c4053b8d5e718f00db8eb20116cb6 commit r13-8768-gbce15a5d7d2c4053b8d5e718f00db8eb20116cb6 Author: Jonathan Wakely Date: Thu Apr 25 13:24:56 2024 +0100 libstdc++: Fix run_doxygen for Doxygen 1.10 man page format Doxygen switched from \fC to \fR in

[gcc r14-10207] libstdc++: Fix typo in std::stacktrace::max_size [PR115063]

2024-05-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:c60205cd4aeea586b7b1fe06baa9861b6d279648 commit r14-10207-gc60205cd4aeea586b7b1fe06baa9861b6d279648 Author: Jonathan Wakely Date: Mon May 13 16:25:13 2024 +0100 libstdc++: Fix typo in std::stacktrace::max_size [PR115063] libstdc++-v3/ChangeLog:

[gcc r14-10206] libstdc++: Guard uses of is_pointer_interconvertible_v [PR114891]

2024-05-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:4d3b358fd757ddd09cbee202f47939043c78676c commit r14-10206-g4d3b358fd757ddd09cbee202f47939043c78676c Author: Jonathan Wakely Date: Tue Apr 30 09:48:00 2024 +0100 libstdc++: Guard uses of is_pointer_interconvertible_v [PR114891] This type trait isn't supported

[gcc r15-285] libstdc++: Fix handling of incomplete UTF-8 sequences in _Unicode_view

2024-05-07 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:3f04f3939ea0ac8fdd766a60655d29de2ffb44e5 commit r15-285-g3f04f3939ea0ac8fdd766a60655d29de2ffb44e5 Author: Jonathan Wakely Date: Wed May 1 17:09:39 2024 +0100 libstdc++: Fix handling of incomplete UTF-8 sequences in _Unicode_view Eddie Nolan reported to me

[gcc r15-283] libstdc++: Simplify std::variant comparison operators

2024-05-07 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:6709e35457a30b2184fa8337aa4abdd2c0edaeb3 commit r15-283-g6709e35457a30b2184fa8337aa4abdd2c0edaeb3 Author: Jonathan Wakely Date: Thu Mar 28 14:19:45 2024 + libstdc++: Simplify std::variant comparison operators libstdc++-v3/ChangeLog: *

gcc-wwwdocs branch master updated. 8ee66061ef0ec3fb5593dc42cf04aaee1c5d5e1e

2024-05-07 Thread Jonathan Wakely via Gcc-cvs-wwwdocs
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 8ee66061ef0ec3fb5593dc42cf04aaee1c5d5e1e (commit) from

gcc-wwwdocs branch master updated. ced576434ed310d0afee01d88d0c56f78b4d04c5

2024-05-03 Thread Jonathan Wakely via Gcc-cvs-wwwdocs
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via ced576434ed310d0afee01d88d0c56f78b4d04c5 (commit) from

[gcc r13-8674] libstdc++: Reverse arguments in constraint for std::optional's <=> [PR104606]

2024-05-02 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:3d16f8f2aec9583422d00c531732ca9d33e6ef26 commit r13-8674-g3d16f8f2aec9583422d00c531732ca9d33e6ef26 Author: Jonathan Wakely Date: Wed Mar 27 21:51:13 2024 + libstdc++: Reverse arguments in constraint for std::optional's <=> [PR104606] This is a

[gcc r11-11411] libstdc++: Add missing std::tuple constructor [PR114147]

2024-05-02 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:0ecb0967b4f7e68027492ac03e5dc03b5bcfdcf7 commit r11-11411-g0ecb0967b4f7e68027492ac03e5dc03b5bcfdcf7 Author: Jonathan Wakely Date: Fri Mar 1 11:16:58 2024 + libstdc++: Add missing std::tuple constructor [PR114147] I caused a regression with commit r10-908

Re: Updated Sourceware infrastructure plans

2024-05-01 Thread Jonathan Wakely via Gcc
On Wed, 1 May 2024 at 20:19, Jeff Law via Gcc wrote: > > > > On 4/22/24 9:24 PM, Tom Tromey wrote: > > Jason> Someone mentioned earlier that gerrit was previously tried > > Jason> unsuccessfully. > > > > We tried it and gdb and then abandoned it. We tried to integrate it > > into the traditional

gcc-wwwdocs branch master updated. 8e626db7182e01ad09bdab91f6a83ecb2dbde4e3

2024-05-01 Thread Jonathan Wakely via Gcc-cvs-wwwdocs
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 8e626db7182e01ad09bdab91f6a83ecb2dbde4e3 (commit) from

Re: GCC testing on FreeBSD

2024-04-28 Thread Jonathan Wakely via Gcc
On Sun, 28 Apr 2024, 11:24 Gerald Pfeifer, wrote: > Hi Jonathan, > > On Fri, 26 Apr 2024, Jonathan Wakely wrote: > > How are you testing on FreeBSD? > > > > When I build GCC trunk on FreeBSD 14.0 and try to run the libstdc++ > > testsuite it fails due to lots of these errors: > > > > Excess

[gcc r15-5] libstdc++: Do not apply localized formatting to NaN and inf [PR114863]

2024-04-26 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:a0bc71e480132a528a4869c1cd7863f709768c53 commit r15-5-ga0bc71e480132a528a4869c1cd7863f709768c53 Author: Jonathan Wakely Date: Fri Apr 26 11:42:26 2024 +0100 libstdc++: Do not apply localized formatting to NaN and inf [PR114863] We don't want to add grouping

GCC testing on FreeBSD

2024-04-26 Thread Jonathan Wakely via Gcc
Hi Gerald, Andreas, How are you testing on FreeBSD? When I build GCC trunk on FreeBSD 14.0 and try to run the libstdc++ testsuite it fails due to lots of these errors: Excess errors: /usr/local/bin/ld: /tmp//ccev946q.o: relocation R_X86_64_32 against symbol

[gcc r13-8653] libstdc++: Update status tables to refer to GCC 13 not mainline

2024-04-26 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:56f28dd436c75b5cfbd6af7a02bff968894eafa6 commit r13-8653-g56f28dd436c75b5cfbd6af7a02bff968894eafa6 Author: Jonathan Wakely Date: Fri Apr 26 11:46:01 2024 +0100 libstdc++: Update status tables to refer to GCC 13 not mainline This should have been done before

[gcc r15-3] libstdc++: Adjust whitespace in status tables in manual

2024-04-26 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:772250a36c53a7b29a53e090d911b502afdfd1fe commit r15-3-g772250a36c53a7b29a53e090d911b502afdfd1fe Author: Jonathan Wakely Date: Fri Apr 26 11:48:48 2024 +0100 libstdc++: Adjust whitespace in status tables in manual This simplifies the changes needed after

[gcc r13-8649] libstdc++: Add libstdc++_libbacktrace.a to libstdc++exp

2024-04-25 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:f3cff718df0cf7590ccf9bc1d8cd17e4e08f1e6d commit r13-8649-gf3cff718df0cf7590ccf9bc1d8cd17e4e08f1e6d Author: Jonathan Wakely Date: Thu Apr 18 17:26:55 2024 +0100 libstdc++: Add libstdc++_libbacktrace.a to libstdc++exp This completes the fixes to put all

[gcc r13-8648] libstdc++: Fix libstdc++exp.a so it really does contain Filesystem TS symbols

2024-04-25 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:9c49ab21b5df71cf5e397dfe0f7b97765300ec45 commit r13-8648-g9c49ab21b5df71cf5e397dfe0f7b97765300ec45 Author: Jonathan Wakely Date: Fri Feb 2 12:07:09 2024 + libstdc++: Fix libstdc++exp.a so it really does contain Filesystem TS symbols In

Re: [Regarding GCOV].gcda:stamp mismatch with notes file

2024-04-25 Thread Jonathan Wakely via Gcc
On Thu, 25 Apr 2024 at 09:54, Jonathan Wakely wrote: > > On Thu, 25 Apr 2024 at 07:47, Gejoe Daniel via Gcc wrote: > > > > Hi team, > > The following is my query posted but would need more inputs : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 > > > > The gcov tool which was working so

Re: [Regarding GCOV].gcda:stamp mismatch with notes file

2024-04-25 Thread Jonathan Wakely via Gcc
On Thu, 25 Apr 2024 at 07:47, Gejoe Daniel via Gcc wrote: > > Hi team, > The following is my query posted but would need more inputs : > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 > > The gcov tool which was working so far seems to fail with our latest branch > where gcc is 11.4.0 and

Re: Updated Sourceware infrastructure plans

2024-04-19 Thread Jonathan Wakely via Gcc
On Thu, 18 Apr 2024 at 07:06, Thomas Koenig via Gcc wrote: > > Am 18.04.24 um 01:27 schrieb Mark Wielaard: > > We also should make sure that all generated files (either in git or in > > the release/snapshot tar balls) can be reliably and reproducibly > > regenerated. This also helps the

[gcc r14-10008] libstdc++: Implement "Printing blank lines with println" for C++23

2024-04-17 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:7c2a9dbcc2c1cb1563774068c59d5e09edc59f06 commit r14-10008-g7c2a9dbcc2c1cb1563774068c59d5e09edc59f06 Author: Jonathan Wakely Date: Thu Mar 21 23:09:14 2024 + libstdc++: Implement "Printing blank lines with println" for C++23 This was recently approved for

[gcc r14-9980] libstdc++: Add std::reference_wrapper comparison operators for C++26

2024-04-15 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:0d58450659ade002666c1c3604c94cd8e0cc6b50 commit r14-9980-g0d58450659ade002666c1c3604c94cd8e0cc6b50 Author: Jonathan Wakely Date: Fri Mar 22 13:20:21 2024 + libstdc++: Add std::reference_wrapper comparison operators for C++26 This C++26 change was just

[gcc r14-9978] libstdc++: Fix infinite loop in std::istream::ignore(n, delim) [PR93672]

2024-04-15 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:2d694414ada8e3b58f504c1b175d31088529632e commit r14-9978-g2d694414ada8e3b58f504c1b175d31088529632e Author: Jonathan Wakely Date: Thu Apr 4 10:33:33 2024 +0100 libstdc++: Fix infinite loop in std::istream::ignore(n, delim) [PR93672] A negative delim value

[gcc r14-9917] libstdc++: Export std::__basic_file::native_handle as GLIBCXX_3.4.33 [PR114692]

2024-04-11 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:1defe743aeb19532f6d6f4cab37e10f11467abd8 commit r14-9917-g1defe743aeb19532f6d6f4cab37e10f11467abd8 Author: Jonathan Wakely Date: Thu Apr 11 12:28:25 2024 +0100 libstdc++: Export std::__basic_file::native_handle as GLIBCXX_3.4.33 [PR114692] I added this new

[gcc r14-9879] libstdc++: Fix build for targets without FP std::from_chars [PR114633]

2024-04-09 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:92b38ec84f2990d217f036dc6c5a32cde5ecfb93 commit r14-9879-g92b38ec84f2990d217f036dc6c5a32cde5ecfb93 Author: Jonathan Wakely Date: Mon Apr 8 17:37:32 2024 +0100 libstdc++: Fix build for targets without FP std::from_chars [PR114633] If the faster

[gcc r14-9838] libstdc++: Fix tests that fail with -fno-char8_t

2024-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:cd77e152875d3bc9c8966fc20241d73aa47532b3 commit r14-9838-gcd77e152875d3bc9c8966fc20241d73aa47532b3 Author: Jonathan Wakely Date: Tue Apr 2 20:53:11 2024 +0100 libstdc++: Fix tests that fail with -fno-char8_t Adjust expected errors or skip tests as

[gcc r14-9837] libstdc++: Combine two std::from_chars tests into one

2024-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:87bc20676ce606b0f75f12a35b24206df05a9f0a commit r14-9837-g87bc20676ce606b0f75f12a35b24206df05a9f0a Author: Jonathan Wakely Date: Tue Apr 2 21:22:01 2024 +0100 libstdc++: Combine two std::from_chars tests into one We don't need separate tests for the C++17

Re: Re: [RFC] Linux system call builtins

2024-04-08 Thread Jonathan Wakely via Gcc
On Mon, 8 Apr 2024, 13:00 Matheus Afonso Martins Moreira via Gcc, < gcc@gcc.gnu.org> wrote: > > Compiler support for system calls help by eliminating the need for the > system call stub functions traditionally provided by these C libraries. > There's no need to link against the C libraries just

Re: [RFC] Linux system call builtins

2024-04-08 Thread Jonathan Wakely via Gcc
Hello, On Mon, 8 Apr 2024 at 10:20, Matheus Afonso Martins Moreira via Gcc wrote: > > I'd like to add GCC builtins for generating Linux system call > code for all architectures supported by Linux. > > They would look like this: > > __builtin_linux_system_call(long n, ...) >

Re: Patches submission policy change

2024-04-07 Thread Jonathan Wakely via Gcc
On Sun, 7 Apr 2024, 15:02 Mark Wielaard, wrote: > Hi Jonathan, > > On Sun, Apr 07, 2024 at 01:32:11PM +0100, Jonathan Wakely via Gdb wrote: > > On Thu, 4 Apr 2024, 22:36 Mark Wielaard, wrote: > > > wrt to the mailinglists maybe getting larger patches, I think most > > > will still be under 400K

Re: Patches submission policy change

2024-04-07 Thread Jonathan Wakely via Gcc
On Thu, 4 Apr 2024, 22:36 Mark Wielaard, wrote: > wrt to the mailinglists maybe getting larger patches, I think most > will still be under 400K and I wouldn't raise the limit (because most > such larger emails are really just spam). But we might want to get > more mailinglist moderators. > >

Re: Sourceware mitigating and preventing the next xz-backdoor

2024-04-03 Thread Jonathan Wakely via Gcc
On Wed, 3 Apr 2024 at 19:36, Toon Moene wrote: > > On 4/3/24 20:25, Ian Lance Taylor wrote: > > > Note that the attack really didn't have anything to do with > > compressing data. The library used an IFUNC to change the PLT of a > > different function, so it effectively took control of the code

Re: Sourceware mitigating and preventing the next xz-backdoor

2024-04-03 Thread Jonathan Wakely via Gcc
On Wed, 3 Apr 2024 at 15:34, Martin Uecker via Gcc wrote: > I ask a very specific question: To what extend is testing > for features instead of semantic versions and/or supported > standards still necessary? This seems like a problematic approach > that may have been necessary decades ago, but

Re: Patches submission policy change

2024-04-03 Thread Jonathan Wakely via Gcc
On Wed, 3 Apr 2024 at 09:46, Jakub Jelinek via Gcc wrote: > > On Wed, Apr 03, 2024 at 10:22:24AM +0200, Christophe Lyon wrote: > > Any concerns/objections? > > I'm all for it, in fact I've been sending it like that myself for years > even when the policy said not to. In most cases, the diff for

Re: A problem about g++ 4.8.5

2024-03-28 Thread Jonathan Wakely via Gcc
Hello, This mailing list is for discussion the development of GCC itself. Please use the gcc-help mailing list for help questions. Please send any replies to that list instead of this one, thanks. On Thu, 28 Mar 2024 at 09:35, shaoben zhu via Gcc wrote: > > I compile my program using g++ 4.8.5,

[gcc r14-9652] libstdc++: Fix incorrect macro used in #undef in test

2024-03-25 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:cf3fc6f414f52a99f2dfc71c2e72e96fe60d2b6f commit r14-9652-gcf3fc6f414f52a99f2dfc71c2e72e96fe60d2b6f Author: Jonathan Wakely Date: Sat Mar 23 00:19:55 2024 + libstdc++: Fix incorrect macro used in #undef in test This was a copy & paste error.

Re: P2996R2

2024-03-25 Thread Jonathan Wakely via Gcc
On Sun, 24 Mar 2024, 23:07 Jeffrey Cliff via Gcc, wrote: > i notice P2996R2 ( > https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2996r2.html > ) isn't listed yet in > https://gcc.gnu.org/projects/cxx-status.html#cxx26 > i'm assuming it's not implemented yet but not sure where to suggest

Re: Is --as-needed the default these days?

2024-03-24 Thread Jonathan Wakely via Gcc
On Sun, 24 Mar 2024, 18:01 Yuri Kanivetsky via Gcc, wrote: > Hi, > > It looks like somewhere between gcc-5.3.0 and gcc-6.2.1 --as-needed > became the default: > > https://gist.github.com/x-yuri/1b4c19891be50b2b8801689de1487009 > > In other words it looks like on Alpine Linux 3.4 -lintl always

[gcc r14-9644] libstdc++: Disable std::formatter specializations (LWG 3944)

2024-03-23 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:543585046d17add37c0108b06d2884d0e03cedde commit r14-9644-g543585046d17add37c0108b06d2884d0e03cedde Author: Jonathan Wakely Date: Thu Mar 21 11:15:06 2024 + libstdc++: Disable std::formatter specializations (LWG 3944) This was just approved in Tokyo as a

[gcc r14-9643] libstdc++: Add __is_in_place_index_v helper and use it in

2024-03-23 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:3763fb8970d7515a4a3be2152604140965303031 commit r14-9643-g3763fb8970d7515a4a3be2152604140965303031 Author: Jonathan Wakely Date: Fri Mar 22 11:47:44 2024 + libstdc++: Add __is_in_place_index_v helper and use it in We already have __is_in_place_type_v

[gcc r14-9547] libstdc++: Fix Python scripts to output the correct filename

2024-03-19 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:ef2efc53fd89920a864fa076cabe03873b7f1bdc commit r14-9547-gef2efc53fd89920a864fa076cabe03873b7f1bdc Author: Jonathan Wakely Date: Tue Mar 19 12:43:29 2024 + libstdc++: Fix Python scripts to output the correct filename These scripts both print "generated

[gcc r14-9545] libstdc++: Begin lifetime of storage in std::vector [PR114367]

2024-03-19 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:16afbd9c9c4282d56062cef95e6eccfdcf3efe03 commit r14-9545-g16afbd9c9c4282d56062cef95e6eccfdcf3efe03 Author: Jonathan Wakely Date: Mon Mar 18 13:00:17 2024 + libstdc++: Begin lifetime of storage in std::vector [PR114367] This doesn't cause a problem with

[gcc r14-9518] gcc_update: Add missing generated files

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:fd776d092642d7b9d429a5e45454594a93ccd819 commit r14-9518-gfd776d092642d7b9d429a5e45454594a93ccd819 Author: Jonathan Wakely Date: Fri Mar 1 16:46:29 2024 + gcc_update: Add missing generated files I'm seeing errors for --enable-maintainer-mode builds due

[gcc r12-10281] libstdc++: Remove test dependencies on _GLIBCXX_USE_C99_STDINT_TR1

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:5546859455fd876fdd1b7233e8c2d8a3a7bc2fe4 commit r12-10281-g5546859455fd876fdd1b7233e8c2d8a3a7bc2fe4 Author: Jonathan Wakely Date: Fri May 12 13:34:37 2023 +0100 libstdc++: Remove test dependencies on _GLIBCXX_USE_C99_STDINT_TR1 These #ifdef checks should

[gcc r12-10279] libstdc++: Implement P2538R1 ADL-proof std::projected

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:2d604183c99ef0cea5d7540a7a466fb1d1453a58 commit r12-10279-g2d604183c99ef0cea5d7540a7a466fb1d1453a58 Author: Jonathan Wakely Date: Fri Jun 23 12:18:11 2023 +0100 libstdc++: Implement P2538R1 ADL-proof std::projected This was recently approved for C++26, but

[gcc r12-10278] libstdc++: Add @headerfile and @since to doxygen comments [PR40380]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:afefe951acd8bae13be0e1b700262316254ce935 commit r12-10278-gafefe951acd8bae13be0e1b700262316254ce935 Author: Jonathan Wakely Date: Wed Apr 26 22:48:35 2023 +0100 libstdc++: Add @headerfile and @since to doxygen comments [PR40380] libstdc++-v3/ChangeLog:

[gcc r12-10275] libstdc++: Fix -Wsystem-headers warnings in tests

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:7abc86119e4ebb13d3fffc7e2b038e2629aa2fc1 commit r12-10275-g7abc86119e4ebb13d3fffc7e2b038e2629aa2fc1 Author: Jonathan Wakely Date: Mon Nov 7 15:00:34 2022 + libstdc++: Fix -Wsystem-headers warnings in tests libstdc++-v3/ChangeLog: *

[gcc r12-10264] libstdc++: Disable Doxygen GROUP_NESTED_COMPOUNDS config option

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:d9f006da30def40747792d3ea37add1d80e02444 commit r12-10264-gd9f006da30def40747792d3ea37add1d80e02444 Author: Jonathan Wakely Date: Wed May 11 16:46:03 2022 +0100 libstdc++: Disable Doxygen GROUP_NESTED_COMPOUNDS config option Before Doxygen version 1.9.2 this

[gcc r12-10262] libstdc++: Update std::pointer_traits to match new LWG 3545 wording

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:57eb0358d0e0925f9e5aa282ed7f0274f6ff794e commit r12-10262-g57eb0358d0e0925f9e5aa282ed7f0274f6ff794e Author: Jonathan Wakely Date: Mon Sep 26 18:59:45 2022 +0100 libstdc++: Update std::pointer_traits to match new LWG 3545 wording It was pointed out in recent

[gcc r12-10273] libstdc++: Fix -Wsystem-headers warnings

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:2d174d4181896129d465cbf42dc454f4f906892b commit r12-10273-g2d174d4181896129d465cbf42dc454f4f906892b Author: Jonathan Wakely Date: Sat Nov 5 12:35:55 2022 + libstdc++: Fix -Wsystem-headers warnings Fix some problems noticed with -Wsystem-headers.

[gcc r12-10266] libstdc++: Stop defining C++0x compat symbols for versioned namespace

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:914a226e3cda5a640c9640580a21d780eb829057 commit r12-10266-g914a226e3cda5a640c9640580a21d780eb829057 Author: Jonathan Wakely Date: Mon May 16 16:54:52 2022 +0100 libstdc++: Stop defining C++0x compat symbols for versioned namespace The

[gcc r12-10261] libstdc++: Simplify detection idiom using concepts

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:1bb467f4910dc4abd90a7be98653b63113e5d6d3 commit r12-10261-g1bb467f4910dc4abd90a7be98653b63113e5d6d3 Author: Jonathan Wakely Date: Fri Sep 23 23:16:30 2022 +0100 libstdc++: Simplify detection idiom using concepts Add a simpler definition of std::__detected_or

[gcc r12-10267] libstdc++: Improve doxygen docs for

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:f0db5dfce8c729def8ce12ff7e3ed3b1e4f49467 commit r12-10267-gf0db5dfce8c729def8ce12ff7e3ed3b1e4f49467 Author: Jonathan Wakely Date: Wed May 11 23:52:20 2022 +0100 libstdc++: Improve doxygen docs for libstdc++-v3/ChangeLog: *

[gcc r12-10259] libstdc++: use grep -E instead of egrep in scripts

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:c6f80dca4e51eaab3f12884e19b3dbbfe9cdffd7 commit r12-10259-gc6f80dca4e51eaab3f12884e19b3dbbfe9cdffd7 Author: Xi Ruoyao Date: Fri Jun 24 15:02:23 2022 +0800 libstdc++: use grep -E instead of egrep in scripts egrep has been deprecated in favor of grep -E for a

[gcc r12-10265] libstdc++: Add macros for the inline namespace std::_V2

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:f8ab9b7c08161739242b2760f881a3918373cd46 commit r12-10265-gf8ab9b7c08161739242b2760f881a3918373cd46 Author: Jonathan Wakely Date: Wed May 11 16:35:45 2022 +0100 libstdc++: Add macros for the inline namespace std::_V2 Use macros to open and close the inline

[gcc r12-10257] libstdc++: Define std::basic_stringbuf::view() for old std::string ABI

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:e35b26c2442b61e7f45deb5ef3062d0ab6ec584b commit r12-10257-ge35b26c2442b61e7f45deb5ef3062d0ab6ec584b Author: Jonathan Wakely Date: Tue Jan 31 22:32:15 2023 + libstdc++: Define std::basic_stringbuf::view() for old std::string ABI Unlike the new str()&&

[gcc r12-10255] libstdc++: Explicitly default some copy ctors and assignments

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:a389921f175c30e8ca0da38ccb79ed60cf744fd4 commit r12-10255-ga389921f175c30e8ca0da38ccb79ed60cf744fd4 Author: Jonathan Wakely Date: Tue Aug 8 16:24:31 2023 +0100 libstdc++: Explicitly default some copy ctors and assignments The standard says that the implicit

[gcc r12-10254] libstdc++: Add static_assert to std::integer_sequence [PR112473]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:dc0964f43dcee46dcd1843287a541668fd08a4a8 commit r12-10254-gdc0964f43dcee46dcd1843287a541668fd08a4a8 Author: Jonathan Wakely Date: Fri Nov 10 12:21:52 2023 + libstdc++: Add static_assert to std::integer_sequence [PR112473] C++20 allows class types as

[gcc r12-10246] libstdc++: Fix Unicode codecvt and add tests [PR86419]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:12c193e5723f08694c8784457200112bae117063 commit r12-10246-g12c193e5723f08694c8784457200112bae117063 Author: Dimitrij Mijoski Date: Tue Jan 10 13:58:59 2023 +0100 libstdc++: Fix Unicode codecvt and add tests [PR86419] Fixes the conversion from UTF-8 to UTF-16

[gcc r12-10252] libstdc++: Fix exception thrown by std::shared_lock::unlock() [PR112089]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:c285c1b9a940bde745f296e1bfc1a5cfddb63254 commit r12-10252-gc285c1b9a940bde745f296e1bfc1a5cfddb63254 Author: Jonathan Wakely Date: Thu Oct 26 16:51:30 2023 +0100 libstdc++: Fix exception thrown by std::shared_lock::unlock() [PR112089] The incorrect errc

[gcc r12-10247] libstdc++: Add likely/unlikely attributes to implementation

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:ec9735922b6f28cf704c8a7850a34aed82675b91 commit r12-10247-gec9735922b6f28cf704c8a7850a34aed82675b91 Author: Jonathan Wakely Date: Fri Feb 24 21:28:11 2023 + libstdc++: Add likely/unlikely attributes to implementation For the common case of converting

[gcc r12-10244] libstdc++: Fix std::abs(__float128) for -NaN and -0.0 [PR109758]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:9f381ebb7211c1359f5de87760148096fcba3357 commit r12-10244-g9f381ebb7211c1359f5de87760148096fcba3357 Author: Jonathan Wakely Date: Wed May 10 12:20:58 2023 +0100 libstdc++: Fix std::abs(__float128) for -NaN and -0.0 [PR109758] The current implementation of

[gcc r12-10238] libstdc++: Check for std::ratio in arithmetic and comparisons [PR110593]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:ae8302e18f15f0befb372762b20a3a790a19a925 commit r12-10238-gae8302e18f15f0befb372762b20a3a790a19a925 Author: Jonathan Wakely Date: Wed Jul 19 18:18:46 2023 +0100 libstdc++: Check for std::ratio in arithmetic and comparisons [PR110593] The standard says that

[gcc r12-10239] libstdc++: Qualify calls to std::_Destroy and _Destroy_aux

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:5c4cd53ffd70205b2b136661b3be175dec0ce8d7 commit r12-10239-g5c4cd53ffd70205b2b136661b3be175dec0ce8d7 Author: Jonathan Wakely Date: Fri Jun 30 21:09:01 2023 +0100 libstdc++: Qualify calls to std::_Destroy and _Destroy_aux These calls should be qualified to

[gcc r12-10237] libstdc++: Remove unconditional use of atomics in Debug Mode

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:73d0816f570c26e856d94d56491e50332fd8b425 commit r12-10237-g73d0816f570c26e856d94d56491e50332fd8b425 Author: Jonathan Wakely Date: Mon Sep 11 16:42:54 2023 +0100 libstdc++: Remove unconditional use of atomics in Debug Mode The fix for PR 91910

[gcc r12-10228] libstdc++: Fix uses of signed types with functions

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:ac0cf0786bb3da60f412afe800fd385686b9517d commit r12-10228-gac0cf0786bb3da60f412afe800fd385686b9517d Author: Jonathan Wakely Date: Tue Nov 14 10:56:57 2023 + libstdc++: Fix uses of signed types with functions In we pass the int __base parameter to our

[gcc r12-10233] libstdc++: Update outdated default -std in testing docs

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:8364faf223e54c0ddf7ab35eda158533e5195bb6 commit r12-10233-g8364faf223e54c0ddf7ab35eda158533e5195bb6 Author: Jonathan Wakely Date: Fri Sep 8 16:28:06 2023 +0100 libstdc++: Update outdated default -std in testing docs libstdc++-v3/ChangeLog: *

[gcc r12-10232] libstdc++: Fix unconditional -Werror in libbacktrace directory

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:02a64d50d7780184428630e748fc301cb04ef96b commit r12-10232-g02a64d50d7780184428630e748fc301cb04ef96b Author: Alexey Lapshin Date: Fri Sep 8 11:23:16 2023 +0100 libstdc++: Fix unconditional -Werror in libbacktrace directory The -Werror flag should depend on

[gcc r12-10226] libstdc++: Correct notes about std::call_once in manual [PR66146]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:415457babf04d077929956ea97132448b0dc4b2c commit r12-10226-g415457babf04d077929956ea97132448b0dc4b2c Author: Jonathan Wakely Date: Thu Mar 14 11:52:17 2024 + libstdc++: Correct notes about std::call_once in manual [PR66146] The bug with exceptions thrown

[gcc r12-10227] libstdc++: Fix access error in __gnu_test::uneq_allocator

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:80e88183d47ca4d7c8441355f736fc918d7d05dc commit r12-10227-g80e88183d47ca4d7c8441355f736fc918d7d05dc Author: Jonathan Wakely Date: Thu Nov 23 14:34:59 2023 + libstdc++: Fix access error in __gnu_test::uneq_allocator The operator== function is only a

[gcc r12-10225] libstdc++: Move test error_category to global scope

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:a0bca5584725153ad560b97a33a07e3c56f6f953 commit r12-10225-ga0bca5584725153ad560b97a33a07e3c56f6f953 Author: Jonathan Wakely Date: Wed Mar 13 10:02:12 2024 + libstdc++: Move test error_category to global scope A recent GDB change causes this test to fail

[gcc r12-10224] libstdc++: Change some URLs in the manual to use https

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:7b9fa0982f4db0a64aacfe5018708a89f956245a commit r12-10224-g7b9fa0982f4db0a64aacfe5018708a89f956245a Author: Jonathan Wakely Date: Wed Feb 28 14:36:28 2024 + libstdc++: Change some URLs in the manual to use https libstdc++-v3/ChangeLog: *

[gcc r12-10223] libstdc++: Update outdated docs on contributing

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:57f4c935f915454879a0d13f0319ba09c9c01309 commit r12-10223-g57f4c935f915454879a0d13f0319ba09c9c01309 Author: Jonathan Wakely Date: Wed Feb 28 11:24:47 2024 + libstdc++: Update outdated docs on contributing We don't want a separate ChangeLog submission

[gcc r12-10222] libstdc++: Simplify lifetime of eh_globals variable [PR107500]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:d9076dafa12c93e96b349035fb59050151403866 commit r12-10222-gd9076dafa12c93e96b349035fb59050151403866 Author: Jonathan Wakely Date: Thu Nov 3 11:48:57 2022 + libstdc++: Simplify lifetime of eh_globals variable [PR107500] Since this is a trivial type, we

[gcc r12-10221] libstdc++: Add missing std::tuple constructor [PR114147]

2024-03-18 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:fbdeeb1604d52a8ece8631f70ecd64d925d31741 commit r12-10221-gfbdeeb1604d52a8ece8631f70ecd64d925d31741 Author: Jonathan Wakely Date: Fri Mar 1 11:16:58 2024 + libstdc++: Add missing std::tuple constructor [PR114147] I caused a regression with commit r10-908

Re: aliasing

2024-03-18 Thread Jonathan Wakely via Gcc
On Mon, 18 Mar 2024 at 09:01, David Brown wrote: > Should it also include "uint8_t" (if it exists) ? "uint8_t" is often an > alias for "unsigned char", but it could be something different, like an > alias for __UINT8_TYPE__, or "unsigned int > __attribute__((mode(QImode)))", which is used in the

[gcc r13-8441] libstdc++: Fix typo in C++20 status table

2024-03-15 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:d92942efb33c84275521186d351bee854f39c4f2 commit r13-8441-gd92942efb33c84275521186d351bee854f39c4f2 Author: Jonathan Wakely Date: Fri Mar 15 17:04:22 2024 + libstdc++: Fix typo in C++20 status table libstdc++-v3/ChangeLog: *

Re: [Linaro-TCWG-CI] gcc-14-9478-gdf483ebd246: FAIL: 7 regressions on aarch64

2024-03-15 Thread Jonathan Wakely via Gcc-regression
Oops. Jakub has fixed this now. On Thu, 14 Mar 2024 at 23:45, wrote: > > Dear contributor, our automatic CI has detected problems related to your > patch(es). Please find some details below. If you have any questions, > please follow up on linaro-toolch...@lists.linaro.org mailing list,

[gcc r14-9478] libstdc++: Add nodiscard in

2024-03-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:df483ebd24689a3bebfae2089637a00eca0e5a12 commit r14-9478-gdf483ebd24689a3bebfae2089637a00eca0e5a12 Author: Jonathan Wakely Date: Mon Feb 26 13:17:13 2024 + libstdc++: Add nodiscard in Add the [[nodiscard]] attribute to several functions in . These

[gcc r14-9473] libstdc++: Add missing clear_padding in __atomic_float constructor

2024-03-14 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:0adc8c5f146b108f99c4df09e43276e3a2419262 commit r14-9473-g0adc8c5f146b108f99c4df09e43276e3a2419262 Author: xndcn Date: Fri Feb 16 11:00:13 2024 + libstdc++: Add missing clear_padding in __atomic_float constructor For 80-bit long double we need to clear

Re: Using std types and functions within GCC

2024-03-14 Thread Jonathan Wakely via Gcc
On Thu, 14 Mar 2024 at 14:49, David Malcolm wrote: > > On Thu, 2024-03-14 at 13:28 +, Jonathan Wakely via Gcc wrote: > > On Thu, 14 Mar 2024 at 12:54, Pierrick Philippe > > wrote: > > > > > > Hi all, > > Hi Pierrick! It was good to meet yo

Re: Using std types and functions within GCC

2024-03-14 Thread Jonathan Wakely via Gcc
On Thu, 14 Mar 2024 at 12:54, Pierrick Philippe wrote: > > Hi all, > > I was wondering, is there any conventions or guidelines regarding the > usage of types and/or functions coming from the C++ std library within > the compiler? The relevant header needs to be included from the gcc/system.h

[gcc r14-9457] libstdc++: Move test error_category to global scope

2024-03-13 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:a8c7c3a40953e34f57278d224a07dc3698c64a84 commit r14-9457-ga8c7c3a40953e34f57278d224a07dc3698c64a84 Author: Jonathan Wakely Date: Wed Mar 13 10:02:12 2024 + libstdc++: Move test error_category to global scope A recent GDB change causes this test to fail

[gcc r14-9455] libstdc++: Document that _GLIBCXX_CONCEPT_CHECKS might be removed in future

2024-03-13 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:d6490157b3e7ec45a024d1a2acc96e53934dbb0e commit r14-9455-gd6490157b3e7ec45a024d1a2acc96e53934dbb0e Author: Jonathan Wakely Date: Thu Mar 7 12:00:55 2024 + libstdc++: Document that _GLIBCXX_CONCEPT_CHECKS might be removed in future The macro-based concept

  1   2   3   4   5   6   7   8   9   10   >