Re: [PATCH v20 23/26] c++: Implement __is_invocable built-in trait

2024-05-03 Thread Jason Merrill
On 5/2/24 23:25, Ken Matsui wrote: Addressed Jason's review comments. Ok for trunk? -- >8 -- This patch implements built-in trait for std::is_invocable. gcc/cp/ChangeLog: * cp-trait.def: Define __is_invocable. * constraint.cc (diagnose_trait_expr): Handle CPTK_IS_INVOCABLE.

[gcc r15-136] c++: Implement __is_pointer built-in trait

2024-05-03 Thread Ken Matsui via Gcc-cvs
https://gcc.gnu.org/g:cb5d904c775ed7172f8dd7565ec7f5395503d06f commit r15-136-gcb5d904c775ed7172f8dd7565ec7f5395503d06f Author: Ken Matsui Date: Sun Jul 9 17:49:08 2023 -0700 c++: Implement __is_pointer built-in trait This patch implements built-in trait for std::is_pointer.

[gcc r15-135] c++: Implement __is_volatile built-in trait

2024-05-03 Thread Ken Matsui via Gcc-cvs
https://gcc.gnu.org/g:9b51b3e79e4b0533bd2b37dcf734ed4a0739af3c commit r15-135-g9b51b3e79e4b0533bd2b37dcf734ed4a0739af3c Author: Ken Matsui Date: Wed Mar 22 16:26:25 2023 -0700 c++: Implement __is_volatile built-in trait This patch implements built-in trait for std::is_volatile.

[gcc r15-134] c++: Implement __is_const built-in trait

2024-05-03 Thread Ken Matsui via Gcc-cvs
https://gcc.gnu.org/g:7dd8c905219b8e2dfe4ec968a03623989f8f0c80 commit r15-134-g7dd8c905219b8e2dfe4ec968a03623989f8f0c80 Author: Ken Matsui Date: Tue Mar 21 09:10:52 2023 -0700 c++: Implement __is_const built-in trait This patch implements built-in trait for std::is_const.

[PATCH] sra: Do not leave work for DSE (that it can sometimes not perform)

2024-05-03 Thread Martin Jambor
Hi, when looking again at the g++.dg/tree-ssa/pr109849.C testcase we discovered that it generates terrible store-to-load forwarding stalls because SRA was leaving behind aggregate loads but all the stores were by scalar parts and DSE failed to remove the useless load. SRA has all the knowledge

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Jakub Jelinek
On Fri, May 03, 2024 at 09:11:20PM +0200, Martin Uecker wrote: > > TYPE_CANONICAL as used by the middle-end cannot express this but > > Hm. so how does it work now for arrays? Do you have a testcase which doesn't work correctly with the arrays? E.g. same_type_for_tbaa has type1 =

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Martin Uecker
Am Freitag, dem 03.05.2024 um 20:48 +0200 schrieb Richard Biener: > > > Am 03.05.2024 um 20:37 schrieb Martin Uecker : > > > > Am Freitag, dem 03.05.2024 um 20:18 +0200 schrieb Jakub Jelinek: > > > > On Fri, May 03, 2024 at 08:04:18PM +0200, Martin Uecker wrote: > > > > A change that is not

Results for 15.0.0 20240502 (experimental) [master r15-119-gaffd24bfc62203] (GCC) testsuite on m68k-unknown-linux-gnu

2024-05-03 Thread Andreas Schwab
end-1_b.C -std=c++2b (internal compiler error: in set_originating_module, at cp/module.cc:19263) FAIL: g++.dg/modules/tpl-friend-1_b.C -std=c++2b (test for excess errors) FAIL: g++.dg/modules/tpl-friend-3_b.C -std=c++2a (internal compiler error: in set_originating_module, at cp/module.cc:19263) FAIL

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Richard Biener
> Am 03.05.2024 um 20:37 schrieb Martin Uecker : > > Am Freitag, dem 03.05.2024 um 20:18 +0200 schrieb Jakub Jelinek: >>> On Fri, May 03, 2024 at 08:04:18PM +0200, Martin Uecker wrote: >>> A change that is not optimal but would avoid a lot of trouble is to >>> only use the tag of the struct

Results for 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-133-g467ca4a195] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER8) via Gcc-testresults
5035 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc version 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-133-g467ca4a195] (GCC) === gfortran tests === Running target unix XPASS: gfortran.dg/large_real_kind_form_io_2.f90 -O0 execution test XPASS: g

[Bug other/114939] [15 regression] c-c++-common/torture/strub-run3.c fails after r15-125-g7117e1f6bf6de2

2024-05-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114939 Jakub Jelinek changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Martin Uecker
Am Freitag, dem 03.05.2024 um 20:18 +0200 schrieb Jakub Jelinek: > On Fri, May 03, 2024 at 08:04:18PM +0200, Martin Uecker wrote: > > A change that is not optimal but would avoid a lot of trouble is to > > only use the tag of the struct for computing a TYPE_CANONICAL, which > > could then be set

Results for 15.0.0 20240503 (experimental) [master r15-133-g467ca4a195] (GCC) testsuite on powerpc64-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER9 BE) via Gcc-testresults
=== g++ Summary === # of expected passes511596 # of unexpected failures1 # of expected failures 5235 # of unsupported tests 23211 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xg++ version 15.0.0 20240503 (experimental) [master r15-133

[Bug other/114939] New: [15 regression] c-c++-common/torture/strub-run3.c fails after r15-125-g7117e1f6bf6de2

2024-05-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114939 Bug ID: 114939 Summary: [15 regression] c-c++-common/torture/strub-run3.c fails after r15-125-g7117e1f6bf6de2 Product: gcc Version: 15.0 Status: UNCONFIRMED

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Jakub Jelinek
On Fri, May 03, 2024 at 08:04:18PM +0200, Martin Uecker wrote: > A change that is not optimal but would avoid a lot of trouble is to > only use the tag of the struct for computing a TYPE_CANONICAL, which > could then be set already for incomplete types and never needs to > change again. We would

[Bug c++/114934] Error message for expected unqualified-id could be improved

2024-05-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114934 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2024-05-03

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Martin Uecker
Am Freitag, dem 03.05.2024 um 19:30 +0200 schrieb Jakub Jelinek: > On Fri, May 03, 2024 at 05:32:12PM +0200, Martin Uecker wrote: > > Am Freitag, dem 03.05.2024 um 14:13 +0200 schrieb Richard Biener: > > > TYPE_STRUCTURAL_EQUALITY_P is part of our type system so we have > > > to make sure to

Re: [PATCH v2] gcc-14: Mention that some warnings are now errors

2024-05-03 Thread Florian Weimer
* Sebastian Huber: > On 03.05.24 17:06, Jonathan Wakely wrote: >>> I think it would be helpful to reference this change in the C >>> section. This warning to error change causes some issues with >>> legacy software. >> I agree it should be mentioned, but I would put it in the caveats >> section

Results for 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-131-g5219414f3c] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER9 IEEE128) via Gcc-testresults
90 # of unexpected successes 20 # of expected failures 1619 # of unsupported tests 4251 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc version 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-131-g5219414f3c] (GCC) === gfortran tests ===

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Martin Uecker
Am Freitag, dem 03.05.2024 um 18:23 +0200 schrieb Richard Biener: > > > Am 03.05.2024 um 17:33 schrieb Martin Uecker : > > > > Am Freitag, dem 03.05.2024 um 14:13 +0200 schrieb Richard Biener: > > > TYPE_STRUCTURAL_EQUALITY_P is part of our type system so we have > > > to make sure to include

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Jakub Jelinek
On Fri, May 03, 2024 at 05:32:12PM +0200, Martin Uecker wrote: > Am Freitag, dem 03.05.2024 um 14:13 +0200 schrieb Richard Biener: > > TYPE_STRUCTURAL_EQUALITY_P is part of our type system so we have > > to make sure to include that into the type unification done via > > type_hash_canon. This

[Bug libstdc++/77704] Data race on std::ctype

2024-05-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77704 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[PATCH] Use DW_TAG_module for Ada

2024-05-03 Thread Tom Tromey
DWARF is not especially clear on the distinction between DW_TAG_namespace and DW_TAG_module, but I think that DW_TAG_module is more appropriate for Ada. This patch changes the compiler to do this. Note that the Ada compiler does not yet create NAMESPACE_DECLs. gcc * dwarf2out.cc

Re: [PATCH v2] gcc-14: Mention that some warnings are now errors

2024-05-03 Thread Sebastian Huber
On 03.05.24 17:06, Jonathan Wakely wrote: I think it would be helpful to reference this change in the C section. This warning to error change causes some issues with legacy software. I agree it should be mentioned, but I would put it in the caveats section at the top, not as the last item of

[patch,avr,applied] PR92606: Don't optimize PROGMEM data against non-PROGMEM

2024-05-03 Thread Georg-Johann Lay
Applied to fix this long standing wrong-code bug. Johann -- AVR: ipa/92606 - Don't optimize PROGMEM data against non-PROGMEM. ipa/92606: Inter-procedural analysis optimizes data across address-spaces and PROGMEM. As of v14, the PROGMEM part is still not fixed (and there is still no target

Results for 13.2.1 20240503 [releases/gcc-13 r13-8684-g704b15e277] (GCC) testsuite on powerpc64-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER9 BE) via Gcc-testresults
/nightly/build-gcc-13/gcc/xg++ version 13.2.1 20240503 [releases/gcc-13 r13-8684-g704b15e277] (GCC) === gcc tests === Running target unix/-m32 XPASS: gcc.dg/guality/example.c -O0 execution test XPASS: gcc.dg/guality/example.c -O1 -DPREVENT_OPTIMIZATION execution test XPASS

[RFA][RISC-V] Enable inlining str* by default

2024-05-03 Thread Jeff Law
So with Chrstoph's patches from late 2022 we've had the ability to inline strlen, and str[n]cmp (scalar). However, we never actually turned this capability on by default! This patch flips the those default to allow inlinining by default. It also fixes one bug exposed by our internal

Re: [PATCH 3/3] combine: initialize a local var

2024-05-03 Thread Vineet Gupta
On 5/3/24 01:26, Segher Boessenkool wrote: > On Thu, May 02, 2024 at 11:59:24AM -0700, Vineet Gupta wrote: >> This is no logic change (but technically still a functional change). > Where are 1/3 and 2/3? Or are those unrelated? Yes they were unrelated (minor doc fixes) hence didn't want to

Results for 15.0.0 20240501 (experimental) [src r15-95-ga12cae97390] (GCC) testsuite on powerpc-ibm-aix7.2.5.0

2024-05-03 Thread David Edelsohn via Gcc-testresults
LAST_UPDATED: Wed May 1 22:25:21 UTC 2024 (revision r15-95-ga12cae97390) Native configuration is powerpc-ibm-aix7.2.5.0 === g++ tests === Running target unix FAIL: g++.dg/compat/eh/new1 cp_compat_x_tst.o-cp_compat_y_tst.o execute XPASS: g++.dg/debug/pr46583.C -gdwarf-2 -g1

[Committed 2/2] RISC-V: miscll comment fixes [NFC]

2024-05-03 Thread Vineet Gupta
gcc/ChangeLog: * config/riscv/riscv.cc: Comment updates. * config/riscv/riscv.h: Ditto. Signed-off-by: Vineet Gupta --- gcc/config/riscv/riscv.cc | 6 -- gcc/config/riscv/riscv.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git

[Committed 1/2] docs: rtl: document GET_MODE_INNER

2024-05-03 Thread Vineet Gupta
gcc/ChangeLog * doc/rtl.texi: Add entry for GET_MODE_INNER. Signed-off-by: Vineet Gupta --- gcc/doc/rtl.texi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 8ea6588cb71f..aa10b5235b53 100644 --- a/gcc/doc/rtl.texi +++

[PATCH] c++: Implement C++26 P2893R3 - Variadic friends [PR114459]

2024-05-03 Thread Jakub Jelinek
Hi! The following patch imeplements the C++26 P2893R3 - Variadic friends paper. The paper allows for the friend type declarations to specify more than one friend type specifier and allows to specify ... at the end of each. The patch doesn't introduce tentative parsing of friend-type-declaration

[gcc r15-133] RISC-V: miscll comment fixes [NFC]

2024-05-03 Thread Vineet Gupta via Gcc-cvs
https://gcc.gnu.org/g:467ca4a195e26dba77e7f62cc1a3d45a4e541c72 commit r15-133-g467ca4a195e26dba77e7f62cc1a3d45a4e541c72 Author: Vineet Gupta Date: Tue Mar 1 03:45:19 2022 -0800 RISC-V: miscll comment fixes [NFC] gcc/ChangeLog: * config/riscv/riscv.cc: Comment updates.

[gcc r15-132] docs: rtl: document GET_MODE_INNER

2024-05-03 Thread Vineet Gupta via Gcc-cvs
https://gcc.gnu.org/g:301b95494098024317c2f4603f759fadc8a868ca commit r15-132-g301b95494098024317c2f4603f759fadc8a868ca Author: Vineet Gupta Date: Thu Feb 17 13:49:45 2022 -0800 docs: rtl: document GET_MODE_INNER gcc/ChangeLog * doc/rtl.texi: Add entry for

Re: [PATCH] Fix auto deduction for template specialization scopes [114915].

2024-05-03 Thread Patrick Palka
Thanks for the patch! On Wed, 1 May 2024, Seyed Sajad Kahani wrote: > When deducing auto for `adc_return_type`, `adc_variable_type`, and > `adc_decomp_type` contexts (at the usage time), we try to resolve the > outermost template arguments to be used for satisfaction. This is done by one > of

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Richard Biener
> Am 03.05.2024 um 17:33 schrieb Martin Uecker : > > Am Freitag, dem 03.05.2024 um 14:13 +0200 schrieb Richard Biener: >> TYPE_STRUCTURAL_EQUALITY_P is part of our type system so we have >> to make sure to include that into the type unification done via >> type_hash_canon. This requires the

[Bug c++/114935] [14/15 regression] Miscompilation of initializer_list in presence of exceptions since r14-1705-g2764335bd336f2

2024-05-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114935 --- Comment #1 from Jason Merrill --- Without : #include int as; struct A { A(const char *) { ++as; } A(const A&) { ++as; } ~A() { --as; } }; void __attribute__((noipa)) tata(std::initializer_list init) { throw 1; } int main() {

Results for 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-131-g5219414f3c] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER8) via Gcc-testresults
5035 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc version 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-131-g5219414f3c] (GCC) === gfortran tests === Running target unix XPASS: gfortran.dg/large_real_kind_form_io_2.f90 -O0 execution test XPASS: g

Re: [PATCH v2] gcc-14: Mention that some warnings are now errors

2024-05-03 Thread Jakub Jelinek
On Fri, May 03, 2024 at 04:06:28PM +0100, Jonathan Wakely wrote: > I agree it should be mentioned, but I would put it in the caveats > section at the top, not as the last item of the C section. > > How about this? OK for wwwdocs? LGTM. > commit fe5fd75ea5a7a08eee0831cadbdd05689e9408db > Author:

Results for 13.2.1 20240503 [releases/gcc-13 r13-8684-g704b15e277] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER9 IEEE128) via Gcc-testresults
ss errors) === gcc Summary === # of expected passes165847 # of unexpected failures31 # of unexpected successes 3 # of expected failures 1481 # of unsupported tests 2973 /home/gccbuild/build/nightly/build-gcc-13/gcc/xgcc version 13.2.1 20240503 [relea

[gcc(refs/users/meissner/heads/work165-vpair)] Add ChangeLog.vpair and update REVISION.

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:3ab2474bfd72c4a8ee21ebf3361009240e5931ec commit 3ab2474bfd72c4a8ee21ebf3361009240e5931ec Author: Michael Meissner Date: Thu May 2 14:02:24 2024 -0400 Add ChangeLog.vpair and update REVISION. 2024-05-02 Michael Meissner gcc/ *

[gcc(refs/users/meissner/heads/work165-vpair)] Merge commit 'refs/users/meissner/heads/work165-vpair' of git+ssh://gcc.gnu.org/git/gcc into me/work

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:f2cb37724efa0be05f9096502c262c35ea588de2 commit f2cb37724efa0be05f9096502c262c35ea588de2 Merge: 3ab2474bfd7 127051cce99 Author: Michael Meissner Date: Fri May 3 11:25:43 2024 -0400 Merge commit 'refs/users/meissner/heads/work165-vpair' of

[gcc/meissner/heads/work165-vpair] (9 commits) Merge commit 'refs/users/meissner/heads/work165-vpair' of g

2024-05-03 Thread Michael Meissner via Gcc-cvs
The branch 'meissner/heads/work165-vpair' was updated to point to: f2cb37724ef... Merge commit 'refs/users/meissner/heads/work165-vpair' of g It previously pointed to: 127051cce99... Add ChangeLog.vpair and update REVISION. Diff: Summary of changes (added commits):

Re: [PATCH] middle-end/114931 - type_hash_canon and structual equality types

2024-05-03 Thread Martin Uecker
Am Freitag, dem 03.05.2024 um 14:13 +0200 schrieb Richard Biener: > TYPE_STRUCTURAL_EQUALITY_P is part of our type system so we have > to make sure to include that into the type unification done via > type_hash_canon. This requires the flag to be set before querying > the hash which is the

[PATCH] c++: replace tf_norm with a local flag

2024-05-03 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- The tf_norm flag controlling whether to build diagnostic information during constraint normalization doesn't need to be a global tsubst flag, and is confusingly named. This patch replaces it with a boolean

[gcc(refs/users/meissner/heads/work165-test)] Merge commit 'refs/users/meissner/heads/work165-test' of git+ssh://gcc.gnu.org/git/gcc into me/work1

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:cc86d6a68a8a187e129b9d5e3cf19e0312cf6866 commit cc86d6a68a8a187e129b9d5e3cf19e0312cf6866 Merge: 7a47b639ae0 23c1e5caf3d Author: Michael Meissner Date: Fri May 3 11:16:41 2024 -0400 Merge commit 'refs/users/meissner/heads/work165-test' of

[gcc(refs/users/meissner/heads/work165-test)] Add ChangeLog.test and update REVISION.

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:7a47b639ae07d629c0a0cceebda6099cfc2bfdbf commit 7a47b639ae07d629c0a0cceebda6099cfc2bfdbf Author: Michael Meissner Date: Thu May 2 14:05:38 2024 -0400 Add ChangeLog.test and update REVISION. 2024-05-02 Michael Meissner gcc/ *

[gcc/meissner/heads/work165-test] (9 commits) Merge commit 'refs/users/meissner/heads/work165-test' of gi

2024-05-03 Thread Michael Meissner via Gcc-cvs
The branch 'meissner/heads/work165-test' was updated to point to: cc86d6a68a8... Merge commit 'refs/users/meissner/heads/work165-test' of gi It previously pointed to: 23c1e5caf3d... Add ChangeLog.test and update REVISION. Diff: Summary of changes (added commits):

[gcc(refs/users/meissner/heads/work165-tar)] Merge commit 'refs/users/meissner/heads/work165-tar' of git+ssh://gcc.gnu.org/git/gcc into me/work16

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:bf16499088b120a4cb7f9d4b87135b548b8907dc commit bf16499088b120a4cb7f9d4b87135b548b8907dc Merge: 34ad78eca5a 7922492691a Author: Michael Meissner Date: Fri May 3 11:15:20 2024 -0400 Merge commit 'refs/users/meissner/heads/work165-tar' of git+ssh://gcc.gnu.org/git/gcc

[gcc(refs/users/meissner/heads/work165-tar)] Add ChangeLog.tar and update REVISION.

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:34ad78eca5af6d4123109ce2940a3d083dbd5d41 commit 34ad78eca5af6d4123109ce2940a3d083dbd5d41 Author: Michael Meissner Date: Thu May 2 14:03:29 2024 -0400 Add ChangeLog.tar and update REVISION. 2024-05-02 Michael Meissner gcc/ *

[gcc/meissner/heads/work165-tar] (9 commits) Merge commit 'refs/users/meissner/heads/work165-tar' of git

2024-05-03 Thread Michael Meissner via Gcc-cvs
The branch 'meissner/heads/work165-tar' was updated to point to: bf16499088b... Merge commit 'refs/users/meissner/heads/work165-tar' of git It previously pointed to: 7922492691a... Add ChangeLog.tar and update REVISION. Diff: Summary of changes (added commits):

[gcc(refs/users/meissner/heads/work165-dmf)] Add ChangeLog.dmf and update REVISION.

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:e31a001c546fb798951e7ad0a28429de1b98543f commit e31a001c546fb798951e7ad0a28429de1b98543f Author: Michael Meissner Date: Thu May 2 14:01:24 2024 -0400 Add ChangeLog.dmf and update REVISION. 2024-05-02 Michael Meissner gcc/ *

[gcc(refs/users/meissner/heads/work165-dmf)] Merge commit 'refs/users/meissner/heads/work165-dmf' of git+ssh://gcc.gnu.org/git/gcc into me/work16

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:cbea57ffeba74e6e757ca01c85e2d0e618bc3859 commit cbea57ffeba74e6e757ca01c85e2d0e618bc3859 Merge: e31a001c546 9c86f644695 Author: Michael Meissner Date: Fri May 3 11:13:50 2024 -0400 Merge commit 'refs/users/meissner/heads/work165-dmf' of git+ssh://gcc.gnu.org/git/gcc

[gcc/meissner/heads/work165-dmf] (9 commits) Merge commit 'refs/users/meissner/heads/work165-dmf' of git

2024-05-03 Thread Michael Meissner via Gcc-cvs
The branch 'meissner/heads/work165-dmf' was updated to point to: cbea57ffeba... Merge commit 'refs/users/meissner/heads/work165-dmf' of git It previously pointed to: 9c86f644695... Add ChangeLog.dmf and update REVISION. Diff: Summary of changes (added commits):

[gcc(refs/users/meissner/heads/work165-bugs)] Merge commit 'refs/users/meissner/heads/work165-bugs' of git+ssh://gcc.gnu.org/git/gcc into me/work1

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:fe62f8b6607a7aa4abfc02a61749f12c1b7352c7 commit fe62f8b6607a7aa4abfc02a61749f12c1b7352c7 Merge: 808ff741c17 2b46c7250c1 Author: Michael Meissner Date: Fri May 3 11:12:07 2024 -0400 Merge commit 'refs/users/meissner/heads/work165-bugs' of

[gcc(refs/users/meissner/heads/work165-bugs)] Add ChangeLog.bugs and update REVISION.

2024-05-03 Thread Michael Meissner via Gcc-cvs
https://gcc.gnu.org/g:808ff741c1713611ece75c2cd17e5f06df902aaf commit 808ff741c1713611ece75c2cd17e5f06df902aaf Author: Michael Meissner Date: Thu May 2 14:04:30 2024 -0400 Add ChangeLog.bugs and update REVISION. 2024-05-02 Michael Meissner gcc/ *

[gcc/meissner/heads/work165-bugs] (9 commits) Merge commit 'refs/users/meissner/heads/work165-bugs' of gi

2024-05-03 Thread Michael Meissner via Gcc-cvs
The branch 'meissner/heads/work165-bugs' was updated to point to: fe62f8b6607... Merge commit 'refs/users/meissner/heads/work165-bugs' of gi It previously pointed to: 2b46c7250c1... Add ChangeLog.bugs and update REVISION. Diff: Summary of changes (added commits):

Re: [PATCH] c++: 'typename T::X' vs 'struct T::X' lookup [PR109420]

2024-05-03 Thread Patrick Palka
Hey Andrew, On Wed, 5 Apr 2023, Andrew Pinski wrote: > On Wed, Apr 5, 2023 at 10:32 AM Patrick Palka via Gcc-patches > wrote: > > > > On Wed, 5 Apr 2023, Patrick Palka wrote: > > > > > r13-6098-g46711ff8e60d64 made make_typename_type no longer ignore > > > non-types during the lookup, unless

Re: [PATCH v2] gcc-14: Mention that some warnings are now errors

2024-05-03 Thread Jonathan Wakely
On 02/05/24 16:29 +0200, Sebastian Huber wrote: On 24.04.24 14:28, Sebastian Huber wrote: - Am 15. Apr 2024 um 8:05 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: --- v2: Remove listing of options. htdocs/gcc-14/changes.html | 2 ++ 1 file changed, 2 insertions(+) diff

Results for 15.0.0 20240503 (experimental) [master r15-131-g5219414f3c] (GCC) testsuite on powerpc64-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER9 BE) via Gcc-testresults
=== g++ Summary === # of expected passes511596 # of unexpected failures1 # of expected failures 5235 # of unsupported tests 23211 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xg++ version 15.0.0 20240503 (experimental) [master r15-131

Re: [PATCH] DCE __cxa_atexit calls where the function is pure/const [PR19661]

2024-05-03 Thread Jeff Law
On 5/2/24 3:56 PM, Andrew Pinski wrote: In C++ sometimes you have a deconstructor function which is "empty", like for an example with unions or with arrays. The front-end might not know it is empty either so this should be done on during optimization.o To implement it I added it to DCE

[PATCH] aarch64: Fix typo in aarch64-ldp-fusion.cc:combine_reg_notes [PR114936]

2024-05-03 Thread Alex Coplan
This fixes a typo in combine_reg_notes in the load/store pair fusion pass. As it stands, the calls to filter_notes store any REG_FRAME_RELATED_EXPR to fr_expr with the following association: - i2 -> fr_expr[0] - i1 -> fr_expr[1] but then the checks inside the following if statement expect the

Results for 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-130-ga2e9032dea] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-05-03 Thread Bill Seurer (POWER9 IEEE128) via Gcc-testresults
90 # of unexpected successes 20 # of expected failures 1619 # of unsupported tests 4251 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc version 15.0.0 20240503 (experimental) [remotes/origin/HEAD r15-130-ga2e9032dea] (GCC) === gfortran tests ===

Results for 15.0.0 20240503 (experimental) [master revision gcc-15-130-ga2e9032deaf] (GCC) testsuite on aarch64-unknown-linux-gnu

2024-05-03 Thread ci_notify--- via Gcc-testresults
s8 # of expected failures 1908 # of unsupported tests 4368 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc version 15.0.0 20240503 (experimental) [master revision gcc-15-130-ga2e9032

[Bug rtl-optimization/114938] New: Basic blocks in generated CFG referencing the incorrect source token column

2024-05-03 Thread 0xd at tutamail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114938 Bug ID: 114938 Summary: Basic blocks in generated CFG referencing the incorrect source token column Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity:

Re: [PATCH] [ranger] Force buffer alignment in Value_Range [PR114912]

2024-05-03 Thread Aldy Hernandez
Ahh, that is indeed cleaner, and there's no longer a need to assert the sizeof of individual ranges. It looks like a default constructor is needed for the buffer now, but only for the default constructor of Value_Range. I have verified that the individual range constructors are not called on

[Bug tree-optimization/114937] [11 regression] -ftree-vrp optimizes out range check before conditional increment

2024-05-03 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114937 --- Comment #3 from Mital Ashok --- My real code looks more like: void sat_inc(int& y) { if (y < __INT_MAX__) ++y; } template void f(int& x, F&&... functions) { int copy = x; (functions(copy), ...); if (copy > x)

Re: [PATCH] rs6000: Add OPTION_MASK_POWER8 [PR101865]

2024-05-03 Thread Peter Bergner
On 4/12/24 3:36 PM, Peter Bergner wrote: > Testing was clean on both LE and BE, so I pushed the changes. > I'll let things bake on trunk for a bit before pushing the backports. The backports all tested clean, so I pushed them. Fixed everywhere. Thanks everyone! Peter

[gcc r14-10164] Revert "tree-optimization/114921 - _Float16 -> __bf16 isn't noop"

2024-05-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:db447ec808e997bd13a849d9b3076792afb888cb commit r14-10164-gdb447ec808e997bd13a849d9b3076792afb888cb Author: Richard Biener Date: Fri May 3 16:03:14 2024 +0200 Revert "tree-optimization/114921 - _Float16 -> __bf16 isn't noop" This reverts commit

[Bug gcov-profile/114715] Gcov allocates branches to wrong row for nested switches

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114715 Richard Biener changed: What|Removed |Added Known to work||13.2.1 --- Comment #6 from Richard

[Bug middle-end/114733] [13 Regression] Miscompile with -march=rv64gcv -O3 on riscv

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114733 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

Results for 20240503 master r15-122-ga561dc0f6c7085 (GCC) testsuite on x86_64-pc-linux-gnu

2024-05-03 Thread Gaius Mulley via Gcc-testresults
$ ../configure --prefix=/home/gaius/opt --libexecdir=/home/gaius/opt/lib --enable-host-shared --enable-threads=posix --enable-clocale=gnu --enable-checking --enable-long-longx --enable-languages=m2 --enable-multilib --disable-plugin --enable-bootstrap gcc-branch: master git commit

[r15-124 Regression] FAIL: gcc.target/i386/pr70251.c (test for excess errors) on Linux/x86_64

2024-05-03 Thread haochen.jiang
On Linux/x86_64, 87e35da16df74cd1c4729a55d94e7bc592487f48 is the first bad commit commit 87e35da16df74cd1c4729a55d94e7bc592487f48 Author: Richard Biener Date: Thu May 2 13:55:15 2024 +0200 tree-optimization/114921 - _Float16 -> __bf16 isn't noop caused FAIL: gcc.target/i386/pr70251.c 1

[r15-124 Regression] FAIL: gcc.target/i386/pr70251.c (test for excess errors) on Linux/x86_64

2024-05-03 Thread haochen.jiang via Gcc-regression
On Linux/x86_64, 87e35da16df74cd1c4729a55d94e7bc592487f48 is the first bad commit commit 87e35da16df74cd1c4729a55d94e7bc592487f48 Author: Richard Biener Date: Thu May 2 13:55:15 2024 +0200 tree-optimization/114921 - _Float16 -> __bf16 isn't noop caused FAIL: gcc.target/i386/pr70251.c 1

[Bug tree-optimization/114485] [13 Regression] Wrong code with -O3 -march=rv64gcv on riscv or `-O3 -march=armv9-a` for aarch64

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114485 Richard Biener changed: What|Removed |Added Known to fail|13.1.0 |13.2.0 Resolution|---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 114485, which changed state. Bug 114485 Summary: [13 Regression] Wrong code with -O3 -march=rv64gcv on riscv or `-O3 -march=armv9-a` for aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114485 What

[Bug tree-optimization/114749] [13 Regression] RISC-V rv64gcv ICE: in vectorizable_load, at tree-vect-stmts.cc

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114749 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/114715] Gcov allocates branches to wrong row for nested switches

2024-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114715 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5a3cc62dbb45185dd1ca32caec80d57a320ec5a0 commit r13-8682-g5a3cc62dbb45185dd1ca32caec80d57a320ec5a0 Author: Richard

[Bug tree-optimization/114736] [13 Regression] ICE during SLP pass with gfortran-13 -O3 -mcpu=neoverse-v2

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114736 Richard Biener changed: What|Removed |Added Known to fail|13.2.1 |13.2.0 Status|ASSIGNED

[gcc r13-8683] tree-optimization/114736 - SLP DFS walk issue

2024-05-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:0624852a3ea684f6b9dabea864bcb45e31304728 commit r13-8683-g0624852a3ea684f6b9dabea864bcb45e31304728 Author: Richard Biener Date: Tue Apr 16 11:33:48 2024 +0200 tree-optimization/114736 - SLP DFS walk issue The following fixes a DFS walk issue when identifying

[Bug tree-optimization/114749] [13 Regression] RISC-V rv64gcv ICE: in vectorizable_load, at tree-vect-stmts.cc

2024-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114749 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:704b15e277a8792ac4cd6008ee08bec4b047a3e6 commit r13-8684-g704b15e277a8792ac4cd6008ee08bec4b047a3e6 Author: Richard

[Bug middle-end/114733] [13 Regression] Miscompile with -march=rv64gcv -O3 on riscv

2024-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114733 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b3f9f10e03c570074a517dcfe9df8d3eeddd6aca commit r13-8680-gb3f9f10e03c570074a517dcfe9df8d3eeddd6aca Author: Richard

[gcc r13-8684] tree-optimization/114749 - reset partial vector decision for no-SLP retry

2024-05-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:704b15e277a8792ac4cd6008ee08bec4b047a3e6 commit r13-8684-g704b15e277a8792ac4cd6008ee08bec4b047a3e6 Author: Richard Biener Date: Wed Apr 17 10:40:04 2024 +0200 tree-optimization/114749 - reset partial vector decision for no-SLP retry The following makes sure

[gcc r13-8681] lto/114655 - -flto=4 at link time doesn't override -flto=auto at compile time

2024-05-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:d040606257a579f120271dcd2af62a3458a7856e commit r13-8681-gd040606257a579f120271dcd2af62a3458a7856e Author: Richard Biener Date: Tue Apr 9 14:25:57 2024 +0200 lto/114655 - -flto=4 at link time doesn't override -flto=auto at compile time The following adjusts

[Bug tree-optimization/114736] [13 Regression] ICE during SLP pass with gfortran-13 -O3 -mcpu=neoverse-v2

2024-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114736 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:0624852a3ea684f6b9dabea864bcb45e31304728 commit r13-8683-g0624852a3ea684f6b9dabea864bcb45e31304728 Author: Richard

[Bug target/114936] [14/15 Regression] Typo in aarch64-ldp-fusion.cc:combine_reg_notes

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114936 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.2 Target|

[gcc r13-8682] gcov-profile/114715 - missing coverage for switch

2024-05-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:5a3cc62dbb45185dd1ca32caec80d57a320ec5a0 commit r13-8682-g5a3cc62dbb45185dd1ca32caec80d57a320ec5a0 Author: Richard Biener Date: Mon Apr 15 11:09:17 2024 +0200 gcov-profile/114715 - missing coverage for switch The following avoids missing coverage for the

[Bug lto/114655] [12/13 Regression] -flto=4 at link time does not override -flto=auto from compile time

2024-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d040606257a579f120271dcd2af62a3458a7856e commit r13-8681-gd040606257a579f120271dcd2af62a3458a7856e Author: Richard

[gcc r13-8680] tree-optimization/114733 - neg induction fails for 1 element vectors

2024-05-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:b3f9f10e03c570074a517dcfe9df8d3eeddd6aca commit r13-8680-gb3f9f10e03c570074a517dcfe9df8d3eeddd6aca Author: Richard Biener Date: Tue Apr 16 10:46:03 2024 +0200 tree-optimization/114733 - neg induction fails for 1 element vectors The neg induction

[gcc r13-8679] tree-optimization/114485 - neg induction with partial vectors

2024-05-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:a676581ddc49a6ead8edced7bb4b92aeceebde56 commit r13-8679-ga676581ddc49a6ead8edced7bb4b92aeceebde56 Author: Richard Biener Date: Thu Apr 4 10:00:51 2024 +0200 tree-optimization/114485 - neg induction with partial vectors We can't use

[Bug tree-optimization/114485] [13 Regression] Wrong code with -O3 -march=rv64gcv on riscv or `-O3 -march=armv9-a` for aarch64

2024-05-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114485 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a676581ddc49a6ead8edced7bb4b92aeceebde56 commit r13-8679-ga676581ddc49a6ead8edced7bb4b92aeceebde56 Author: Richard

[Bug tree-optimization/114937] [11 regression] -ftree-vrp optimizes out range check before conditional increment

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114937 Richard Biener changed: What|Removed |Added Known to fail||10.5.0, 11.4.1 Known to work|

Re: [PATCH] testsuite: fix analyzer C++ failures on Solaris [PR111475]

2024-05-03 Thread Rainer Orth
Hi Jakub, > On Fri, May 03, 2024 at 09:31:08AM -0400, David Malcolm wrote: >> Jakub, Richi, Rainer: this is a non-trivial change that cleans up >> analyzer C++ testsuite results on Solaris, but has a slight risk of >> affecting analyzer behavior on other targets. As such, I was thinking >> to

[Bug tree-optimization/114937] [11 regression] -ftree-vrp optimizes out range check before conditional increment

2024-05-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114937 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5 Status|UNCONFIRMED

[Bug tree-optimization/114937] New: [11 regression] -ftree-vrp optimizes out range check before conditional increment

2024-05-03 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114937 Bug ID: 114937 Summary: [11 regression] -ftree-vrp optimizes out range check before conditional increment Product: gcc Version: 11.4.0 Status: UNCONFIRMED

Results for 15.0.0 20240502 (experimental) [master revision gcc-15-100-g6c4a745c691] (GCC) testsuite on aarch64-unknown-linux-gnu

2024-05-03 Thread ci_notify--- via Gcc-testresults
# From https://ci.linaro.org/job/tcwg_gnu_cross_check_gcc--master-aarch64-build/1415/: LAST_UPDATED: 2024-05-03T08:14:22+00:00 (master revision gcc-15-100-g6c4a745c691) aarch64-linux-gnu Target is aarch64-unknown-linux-gnu Host is aarch64-unknown-linux-gnu === libatomic tests

[gcc r14-10163] libstdc++: Update powerpc-linux-gnu baseline_symbols

2024-05-03 Thread Andreas Schwab via Libstdc++-cvs
https://gcc.gnu.org/g:d7c06a80b54486117a72fb2e7b007ad1838d6d0e commit r14-10163-gd7c06a80b54486117a72fb2e7b007ad1838d6d0e Author: Andreas Schwab Date: Sat Feb 3 14:00:41 2024 +0100 libstdc++: Update powerpc-linux-gnu baseline_symbols *

[Bug fortran/114922] fsyntax-only need the modules

2024-05-03 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114922 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment

Re: [PATCH] testsuite: fix analyzer C++ failures on Solaris [PR111475]

2024-05-03 Thread Jakub Jelinek
On Fri, May 03, 2024 at 09:31:08AM -0400, David Malcolm wrote: > Jakub, Richi, Rainer: this is a non-trivial change that cleans up > analyzer C++ testsuite results on Solaris, but has a slight risk of > affecting analyzer behavior on other targets. As such, I was thinking > to hold off on

[Bug analyzer/111475] [14 regression] Many C++ analyzer tests FAIL

2024-05-03 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475 David Malcolm changed: What|Removed |Added Target Milestone|14.0|14.2 Summary|[14/15

<    1   2   3   4   >