[pushed] wwwdocs: git: Prefer https:// over git://

2025-08-31 Thread Gerald Pfeifer
Jonny suggested this a while ago, when originally I didn't fully understand; now I do. :-) Pushed. Gerald git:// is a legacy protocol that lacks authentication and encryption. --- htdocs/git.html | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/htdocs/git.html b/htdoc

[PATCH] Fortran: truncate constant string passed to character,value dummy [PR121727]

2025-08-31 Thread Harald Anlauf
Dear all, the attached fixes a missed optimization passing a constant character string to a scalar dummy with value attribute and shorter than the actual by truncating the latter at compile time. Regtested on x86_64-pc-linux-gnu. OK for mainline? Thanks, Harald From 378e6ee5fc20a2648940e80e5a

Re: [Patch, fortran] PR99709 - [PDT] VALUE attribute for an object with nonconstant length parameter

2025-08-31 Thread Paul Richard Thomas
Pushed as r16-3481. Thanks for your help in getting it over the line! Paul On Sun, 31 Aug 2025 at 12:45, Paul Richard Thomas < paul.richard.tho...@gmail.com> wrote: > Hi Harald and Jerry, > > As it happens, I had done the regtesting, caught the failures of > value_optional_[1-2].f90 but failed

[PATCH] testsuite: Add a smoke test for _FloatN ABI

2025-08-31 Thread Trevor Gross
Introduce a test that exercises various ABI aspects of C23 float types. This is based on existing tests such as `float16-basic.c`. 2025-08-31 Trevor Gross gcc/testsuite/ * gcc.dg/torture/float128-abi.c: New test. * gcc.dg/torture/float128x-abi.c: New test. * gcc.dg/tor

Re: [PATCH] doc: Fix sort order for counted_by attribute

2025-08-31 Thread Sandra Loosemore
On 8/31/25 03:56, Jonathan Wakely wrote: On Sun, 31 Aug 2025 at 10:48 +0100, Jonathan Wakely wrote: Grr, we also have: unavailable unused used retain uninitialized I can kinda understand unused, used, and retain being grouped together (although cross-references are a thing) but they should not a

[RISC-V][PR target/121213] Avoid unnecessary constant load in amoswap

2025-08-31 Thread Jeff Law
This is Austin's work to remove the redundant sign extension seen in pr121213. -- The .w form of amoswap will sign extend its result from 32 to 64 bits, thus any explicit sign extension insn doing the same is redundant. This uses Jivan's approach of allocating a DI temporary for an extended

Re: [PATCH] libbid: Set rounding mode to round-to-nearest for _Decimal128 arithmetic

2025-08-31 Thread H.J. Lu
On Sun, Aug 31, 2025 at 6:21 AM Hongtao Liu wrote: > > On Sun, Aug 31, 2025 at 11:15 AM H.J. Lu wrote: > > > > Since _Decimal128 arithmetic requires the round-to-nearest rounding > > mode, define DFP_INIT_ROUNDMODE and DFP_RESTORE_ROUNDMODE, similar to > > FP_INIT_ROUNDMODE in sfp-machine.h, to s

[PATCH] Move the folding of memcmpy to memcmpy_eq to fold all builtins

2025-08-31 Thread Andrew Pinski
This is a small cleanup by moving the optimization of memcmp to memcmp_eq to fab from strlen pass. Since the copy of the other part of the memcmp strlen optimization to forwprop, this was the only thing left that strlen can do memcmp. Note this move will cause memcmp_eq to be used for -Os too. It

Re: [PATCH] doc: Fix sort order for counted_by attribute

2025-08-31 Thread Sandra Loosemore
On 8/31/25 03:57, Gerald Pfeifer wrote: On Sun, 31 Aug 2025, Jonathan Wakely wrote: gcc/ChangeLog: * doc/extend.texi (Common Variable Attributes): Put counted_by in alphabetical order. --- https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Common-Variable-Attributes.html currently h

[PATCH] c++/modules: Support ADL on non-discarded GM entities [PR121705]

2025-08-31 Thread Nathaniel Shead
Note: the tests in this patch depend on https://gcc.gnu.org/pipermail/gcc-patches/2025-August/693810.html. Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? -- >8 -- [basic.lookup.argdep] p4 says that ADL also finds declarations of functions or function templates from a point of l

Re: [PATCH] libbid: Set rounding mode to round-to-nearest for _Decimal128 arithmetic

2025-08-31 Thread Hongtao Liu
On Sun, Aug 31, 2025 at 11:15 AM H.J. Lu wrote: > > Since _Decimal128 arithmetic requires the round-to-nearest rounding > mode, define DFP_INIT_ROUNDMODE and DFP_RESTORE_ROUNDMODE, similar to > FP_INIT_ROUNDMODE in sfp-machine.h, to set the rounding mode to > round-to-nearest at _Decimal128 relate

Re: [PATCH] c++/modules: Fix ADL [PR117658]

2025-08-31 Thread Nathaniel Shead
On Fri, Aug 29, 2025 at 12:33:23PM +0200, Jason Merrill wrote: > On 8/24/25 9:04 AM, Nathaniel Shead wrote: > > Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? > > > > -- >8 -- > > > > On looking again at [basic.lookup.argdep] p4, I believe GCC hasn't fully > > implemented the wo

Re: [Patch, fortran] PR99709 - [PDT] VALUE attribute for an object with nonconstant length parameter

2025-08-31 Thread Paul Richard Thomas
Hi Harald and Jerry, As it happens, I had done the regtesting, caught the failures of value_optional_[1-2].f90 but failed to update the .diff for submission. Mea culpa for not checking the submission. More importantly, I forgot to deallocate the parameterized components - see the attachment. Unli

[PATCH] config-ml.in: Filter out --disable-static and --disable-shared

2025-08-31 Thread Esteve Varela Colominas
Currently, --enable-static and --enable-shared are filtered by this script. Trying to override a build system's wishes by appending --enable-shared, resulted in the following command-line: ./configure --disable-shared --enable-shared Due to the current behavior of the script, this causes the

Re: [PATCH] doc: Fix sort order for counted_by attribute

2025-08-31 Thread Jonathan Wakely
On Sun, 31 Aug 2025 at 10:48 +0100, Jonathan Wakely wrote: gcc/ChangeLog: * doc/extend.texi (Common Variable Attributes): Put counted_by in alphabetical order. --- https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Common-Variable-Attributes.html currently has this order: alias alig

[pushed] install: Drop MinGW binaries download link

2025-08-31 Thread Gerald Pfeifer
This has been unavailable for well over a year. gcc: * doc/install.texi (Binaries): Drop MinGW. --- gcc/doc/install.texi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index f404a922d40..cb48e248186 100644 --- a/gcc/doc/in

Re: [PATCH] doc: Fix sort order for counted_by attribute

2025-08-31 Thread Gerald Pfeifer
On Sun, 31 Aug 2025, Jonathan Wakely wrote: > gcc/ChangeLog: > > * doc/extend.texi (Common Variable Attributes): Put counted_by > in alphabetical order. > --- > > https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Common-Variable-Attributes.html > currently has this order: > > alias > ali

[PATCH] doc: Fix sort order for counted_by attribute

2025-08-31 Thread Jonathan Wakely
gcc/ChangeLog: * doc/extend.texi (Common Variable Attributes): Put counted_by in alphabetical order. --- https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Common-Variable-Attributes.html currently has this order: alias aligned counted_by alloc_size cleanup common copy deprecated Thi

Re: [committed v5] libstdc++: Implement C++26 features [PR119670]

2025-08-31 Thread Jonathan Wakely
On Sat, 30 Aug 2025 at 10:44, Iain Sandoe wrote: > I wonder if the long-term maintenance of this feature would be made easier > (and a small amount of impl. divergence removed) by adding a > ` __builtin_debugtrap()` to GCC lowered on a target hook, with a fallback to > `__builtin_trap()` ? That m

Re: [committed v5] libstdc++: Implement C++26 features [PR119670]

2025-08-31 Thread Jonathan Wakely
On Fri, 29 Aug 2025 at 19:45, Iain Sandoe wrote: > > > > > On 29 Aug 2025, at 15:55, Jonathan Wakely wrote: > > > > On Fri, 29 Aug 2025 at 15:19, Rainer Orth > > wrote: > >> > >> Hi Jonathan, > >>> > The src/c++26/debugging.cc file defines a global volatile int which can > be set by

[committed] libstdc++: Fix bootstrap failures in src/c++26/debugging.cc

2025-08-31 Thread Jonathan Wakely
ptrace on Darwin requires . The inline x86 asm doesn't work with the Solaris assembler. libstdc++-v3/ChangeLog: * src/c++26/debugging.cc [_GLIBCXX_HAVE_SYS_PTRACE_H]: Include . (breakpoint) [__i386__ || __x86_64__]: Use "int 0x03" instead of "int3". --- Tested x8

[pushed] wwwdocs: gcc-4.7: Use primary site for Fedora mail archive

2025-08-31 Thread Gerald Pfeifer
Google brought up fedorahosted.org; everywhere else we have fedoraproject.org, so use that. --- htdocs/gcc-4.7/porting_to.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-4.7/porting_to.html b/htdocs/gcc-4.7/porting_to.html index 2387b87b..fbb940a6 100644 --- a/h

[pushed] wwwdocs: testing: Simplify link to LAPACK site

2025-08-31 Thread Gerald Pfeifer
Pushed. Gerald --- htdocs/testing/testing-lapack.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/testing/testing-lapack.html b/htdocs/testing/testing-lapack.html index 3262d69c..d6d8c604 100644 --- a/htdocs/testing/testing-lapack.html +++ b/htdocs/testing/testing-