[gcc r15-7242] [PR target/114085] Fix H8 constraint issue which led to ICE

2025-01-27 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:235215323c67d8ce021a00df0f42e2c1713c7959 commit r15-7242-g235215323c67d8ce021a00df0f42e2c1713c7959 Author: Jeff Law Date: Mon Jan 27 21:25:39 2025 -0700 [PR target/114085] Fix H8 constraint issue which led to ICE Nowhere near the top of my list, but a quick l

[gcc r14-11253] asan: Fix missing FakeStack flag cleanup

2025-01-27 Thread Ilya Leoshkevich via Gcc-cvs
https://gcc.gnu.org/g:946c17e456d3a3c3d3baceffd245e7bbb580f7ed commit r14-11253-g946c17e456d3a3c3d3baceffd245e7bbb580f7ed Author: Ilya Leoshkevich Date: Wed Jan 8 00:17:07 2025 +0100 asan: Fix missing FakeStack flag cleanup The FakeStack flag is not zeroed out when can_store_by_pi

[gcc r13-9350] asan: Fix missing FakeStack flag cleanup

2025-01-27 Thread Ilya Leoshkevich via Gcc-cvs
https://gcc.gnu.org/g:aac7bb773f7d1c98ee980492fd2a8785f3153212 commit r13-9350-gaac7bb773f7d1c98ee980492fd2a8785f3153212 Author: Ilya Leoshkevich Date: Wed Jan 8 00:17:07 2025 +0100 asan: Fix missing FakeStack flag cleanup The FakeStack flag is not zeroed out when can_store_by_pie

[gcc r15-7240] c++: only strip conversions for deduction [PR118632]

2025-01-27 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:c7f16806f3cc8011a3e1bbbf59389df65087f330 commit r15-7240-gc7f16806f3cc8011a3e1bbbf59389df65087f330 Author: Jason Merrill Date: Mon Jan 27 12:04:13 2025 -0500 c++: only strip conversions for deduction [PR118632] In r15-2761 I changed unify to always strip IMPL

[gcc r15-7239] RISC-V: Add another test for FRM elimination bug [PR118646]

2025-01-27 Thread Vineet Gupta via Gcc-cvs
https://gcc.gnu.org/g:019fe9c4d4c7cc9e325b5460d277ebaec108a838 commit r15-7239-g019fe9c4d4c7cc9e325b5460d277ebaec108a838 Author: Vineet Gupta Date: Fri Jan 24 13:56:28 2025 -0800 RISC-V: Add another test for FRM elimination bug [PR118646] The issue is same as PR118103 and fixed by

[gcc r15-7238] c++: Don't prune constant capture proxies only used in array dimensions [PR114292]

2025-01-27 Thread Simon Martin via Gcc-cvs
https://gcc.gnu.org/g:ceabea405ffdc851736e240111be9b297ad86c53 commit r15-7238-gceabea405ffdc851736e240111be9b297ad86c53 Author: Simon Martin Date: Wed Jan 22 16:19:47 2025 +0100 c++: Don't prune constant capture proxies only used in array dimensions [PR114292] We currently ICE u

[gcc r15-7237] RISC-V: testsuite: Fix reduc-8.c and reduc-9.c

2025-01-27 Thread Robin Dapp via Gcc-cvs
https://gcc.gnu.org/g:f7dc4fd62ce4d9287988892b1e94bbdd0ca1c8fa commit r15-7237-gf7dc4fd62ce4d9287988892b1e94bbdd0ca1c8fa Author: Robin Dapp Date: Wed Jan 22 18:05:44 2025 +0100 RISC-V: testsuite: Fix reduc-8.c and reduc-9.c In both tests we expect a VEC_SHL_INSERT expression but w

[gcc r15-7235] RISC-V: Disable two-source permutes for now [PR117173].

2025-01-27 Thread Robin Dapp via Gcc-cvs
https://gcc.gnu.org/g:006b4e45f3ab169a47146b31d9721c79098236ac commit r15-7235-g006b4e45f3ab169a47146b31d9721c79098236ac Author: Robin Dapp Date: Thu Oct 17 18:39:16 2024 +0200 RISC-V: Disable two-source permutes for now [PR117173]. After testing on the BPI (4.2% improvement for x

[gcc r15-7236] RISC-V: testsuite: Fix gather_load_64-12-zvbb.c

2025-01-27 Thread Robin Dapp via Gcc-cvs
https://gcc.gnu.org/g:c0c2304e19be438a64841f6a3c56b134ba02d9a6 commit r15-7236-gc0c2304e19be438a64841f6a3c56b134ba02d9a6 Author: Robin Dapp Date: Wed Jan 22 16:19:49 2025 +0100 RISC-V: testsuite: Fix gather_load_64-12-zvbb.c The test fails with _zvfh because we vectorize more. Ju

[gcc r14-11251] libstdc++: perfectly forward std::ranges::clamp arguments

2025-01-27 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:d121d1e1dd874731a648086772e6c40e34fa5de9 commit r14-11251-gd121d1e1dd874731a648086772e6c40e34fa5de9 Author: Giuseppe D'Angelo Date: Sun Jan 19 16:30:20 2025 +0100 libstdc++: perfectly forward std::ranges::clamp arguments As reported in PR118185, std::ranges::

[gcc r14-11250] c++: explicit spec of constrained member tmpl [PR107522]

2025-01-27 Thread Patrick Palka via Gcc-cvs
https://gcc.gnu.org/g:0af8fc22338ef0dd09c9b469aafb19262aa8eeb9 commit r14-11250-g0af8fc22338ef0dd09c9b469aafb19262aa8eeb9 Author: Patrick Palka Date: Thu Jan 16 16:40:08 2025 -0500 c++: explicit spec of constrained member tmpl [PR107522] When defining a explicit specialization of

[gcc r15-7234] Fortran: fix bogus diagnostics on renamed interface import [PR110993]

2025-01-27 Thread Harald Anlauf via Gcc-cvs
https://gcc.gnu.org/g:9104472b645f76a212af9f9c58378500f9ba937e commit r15-7234-g9104472b645f76a212af9f9c58378500f9ba937e Author: Harald Anlauf Date: Sun Jan 26 22:56:57 2025 +0100 Fortran: fix bogus diagnostics on renamed interface import [PR110993] PR fortran/110993

[gcc r15-7233] c++: Use mapped reads and writes when munmap and msync are available

2025-01-27 Thread John David Anglin via Gcc-cvs
https://gcc.gnu.org/g:9d450dee7112635a541c5a34268d54f63da48f71 commit r15-7233-g9d450dee7112635a541c5a34268d54f63da48f71 Author: John David Anglin Date: Mon Jan 27 12:39:00 2025 -0500 c++: Use mapped reads and writes when munmap and msync are available Module support is broken whe

[gcc r15-7232] Remove mistakenly committed files

2025-01-27 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:d31667e8488ad2b14ae4ee6d128ae0015381fbef commit r15-7232-gd31667e8488ad2b14ae4ee6d128ae0015381fbef Author: Jakub Jelinek Date: Mon Jan 27 17:22:05 2025 +0100 Remove mistakenly committed files Sorry. 2025-01-27 Jakub Jelinek * g++.

[gcc r15-7231] c++: Handle CWG2867 even in namespace scope structured bindings in header modules [PR115769]

2025-01-27 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:f4d772356725ba7fd5e17835607d967d90cdcdaa commit r15-7231-gf4d772356725ba7fd5e17835607d967d90cdcdaa Author: Jakub Jelinek Date: Mon Jan 27 17:17:17 2025 +0100 c++: Handle CWG2867 even in namespace scope structured bindings in header modules [PR115769] The fol

[gcc r15-7230] c++: Implement for namespace statics CWG 2867 - Order of initialization for structured bindings [PR1

2025-01-27 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:ad8e6a4ada0a7ed73ac99404ff2b41ed9dc5e940 commit r15-7230-gad8e6a4ada0a7ed73ac99404ff2b41ed9dc5e940 Author: Jakub Jelinek Date: Mon Jan 27 16:45:56 2025 +0100 c++: Implement for namespace statics CWG 2867 - Order of initialization for structured bindings [PR115769]

[gcc/devel/omp/gcc-14] OpenMP: Add 'nec' as to the 'vendor' context-selector list

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:7c307d614570ec4222e091e5f5a66b998f8f5025 commit 7c307d614570ec4222e091e5f5a66b998f8f5025 Author: Tobias Burnus Date: Mon Jan 27 12:48:30 2025 +0100 OpenMP: Add 'nec' as to the 'vendor' context-selector list For unknown vendors using in a context selector such

[gcc/devel/omp/gcc-14] C++: reject OpenMP directives in constexpr functions

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:be2ead6d3eb315b4c1e20c34044f20ff47589b81 commit be2ead6d3eb315b4c1e20c34044f20ff47589b81 Author: Tobias Burnus Date: Mon Jan 27 12:41:53 2025 +0100 C++: reject OpenMP directives in constexpr functions gcc/cp/ChangeLog: * parser.cc (cp_parser_

[gcc/devel/omp/gcc-14] Fortran: Create fresh ts.u.cl for result in gfc_get_symbol_for_expr [PR118441]

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:4c80802457353f945bc1673975be4403aa78d2bd commit 4c80802457353f945bc1673975be4403aa78d2bd Author: Tobias Burnus Date: Mon Jan 27 12:51:06 2025 +0100 Fortran: Create fresh ts.u.cl for result in gfc_get_symbol_for_expr [PR118441] For intrinsic routines, called

[gcc/devel/omp/gcc-14] libgomp.texi: Update 'arch' context-selector description

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:a9b7798b1ba38dc1019d8a658ff360606e7afd9f commit a9b7798b1ba38dc1019d8a658ff360606e7afd9f Author: Tobias Burnus Date: Mon Jan 27 12:47:26 2025 +0100 libgomp.texi: Update 'arch' context-selector description * libgomp.texi (OpenMP Context Selectors): Doc

[gcc/devel/omp/gcc-14] c-c++-common/gomp/interop-4.c: For C++, require '{ target c++11 }'

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:b417df24dd83e3018df341da19d2c370b52d7f59 commit b417df24dd83e3018df341da19d2c370b52d7f59 Author: Tobias Burnus Date: Mon Jan 27 14:29:35 2025 +0100 c-c++-common/gomp/interop-4.c: For C++, require '{ target c++11 }' gcc/testsuite/ * c-c++-comm

[gcc/devel/omp/gcc-14] OpenMP/C++: Fix 'declare variant' for struct-returning functions [PR118486]

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:81c0b5f2e49a3890d4c5b547ecd433492136461d commit 81c0b5f2e49a3890d4c5b547ecd433492136461d Author: Tobias Burnus Date: Mon Jan 27 12:50:05 2025 +0100 OpenMP/C++: Fix 'declare variant' for struct-returning functions [PR118486] To find the variant declaration, a

[gcc/devel/omp/gcc-14] OpenMP: Enable has_device_addr clause for 'dispatch' in C/C++

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:b57c24e76e6e752901c964395b8f6803a6d9f1f5 commit b57c24e76e6e752901c964395b8f6803a6d9f1f5 Author: Tobias Burnus Date: Mon Jan 27 12:40:17 2025 +0100 OpenMP: Enable has_device_addr clause for 'dispatch' in C/C++ The 'has_device_addr' of 'dispatch' has to be see

[gcc/devel/omp/gcc-14] OpenMP: Add 'interop' clause to 'dispatch' for C/C++

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:3002e1f69abbb45a570b66383f5d2ad562190807 commit 3002e1f69abbb45a570b66383f5d2ad562190807 Author: Tobias Burnus Date: Mon Jan 27 12:35:53 2025 +0100 OpenMP: Add 'interop' clause to 'dispatch' for C/C++ Will fail with an error if/as no suitable 'append_args' ha

[gcc/devel/omp/gcc-14] OpenMP: 'interop' construct - add C/C++ parser support, improve Fortran parsing

2025-01-27 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:e34748375a0124c3f5f4abb3ade24913fe688c99 commit e34748375a0124c3f5f4abb3ade24913fe688c99 Author: Tobias Burnus Date: Mon Jan 27 12:32:35 2025 +0100 OpenMP: 'interop' construct - add C/C++ parser support, improve Fortran parsing Add middle end support for the

[gcc r15-7229] tree-optimization/118653 - ICE in vectorizable_live_operation

2025-01-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:6a510dea7f3b047d0650a48e558a4911973930eb commit r15-7229-g6a510dea7f3b047d0650a48e558a4911973930eb Author: Richard Biener Date: Mon Jan 27 12:53:21 2025 +0100 tree-optimization/118653 - ICE in vectorizable_live_operation The checking code didn't take into acc

[gcc r15-7228] libstdc++: correct symbol version of typeinfo for bfloat16_t on RISC-V

2025-01-27 Thread Andreas Schwab via Libstdc++-cvs
https://gcc.gnu.org/g:c6977f765838a5ca8d321d916221a7368622bdd9 commit r15-7228-gc6977f765838a5ca8d321d916221a7368622bdd9 Author: Andreas Schwab Date: Tue Jan 21 23:50:15 2025 +0100 libstdc++: correct symbol version of typeinfo for bfloat16_t on RISC-V RISC-V only gained support fo

[gcc r15-7227] rtl-optimization/118662 - wrong combination of vector sign-extends

2025-01-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:343e1083eb9f57e05c0caba195f118ef2e95cc40 commit r15-7227-g343e1083eb9f57e05c0caba195f118ef2e95cc40 Author: Richard Biener Date: Mon Jan 27 10:49:51 2025 +0100 rtl-optimization/118662 - wrong combination of vector sign-extends The following fixes an issue in t

[gcc r15-7226] middle-end/118643 - ICE with out-of-bound decl access

2025-01-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:52366356fe7b638f66c4011b8a61fb6c22b08087 commit r15-7226-g52366356fe7b638f66c4011b8a61fb6c22b08087 Author: Richard Biener Date: Mon Jan 27 11:28:47 2025 +0100 middle-end/118643 - ICE with out-of-bound decl access When RTL expansion of an out-of-bound access o

[gcc r15-7225] tree-optimization/112859 - bogus loop distribution

2025-01-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:04ba1300407f106a6dd10d346f58a51d87e6d43e commit r15-7225-g04ba1300407f106a6dd10d346f58a51d87e6d43e Author: Richard Biener Date: Thu Jan 23 13:10:17 2025 +0100 tree-optimization/112859 - bogus loop distribution When we get a zero distance vector we still have

[gcc/devel/omp/gcc-14] OpenMP: C front-end support for dispatch + adjust_args

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:c54051c282dbba6297a23173feb82fa066149973 commit c54051c282dbba6297a23173feb82fa066149973 Author: Paul-Antoine Arras Date: Wed Nov 20 15:28:57 2024 +0100 OpenMP: C front-end support for dispatch + adjust_args This patch adds support to the C front-end to parse

[gcc/devel/omp/gcc-14] Accept commas between clauses in OpenMP declare variant

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:0a49642cf5173c4a8c6752c1e3fd4bad4dbcebab commit 0a49642cf5173c4a8c6752c1e3fd4bad4dbcebab Author: Paul-Antoine Arras Date: Mon Jan 6 18:38:11 2025 +0100 Accept commas between clauses in OpenMP declare variant Add support to the Fortran parser for the OpenMP sy

[gcc/devel/omp/gcc-14] Add missing target directive in OpenMP dispatch Fortran runtime test

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:2e8a3d4a62657f034401e6abec25fbfb5318b9f3 commit 2e8a3d4a62657f034401e6abec25fbfb5318b9f3 Author: Paul-Antoine Arras Date: Mon Jan 13 12:57:15 2025 +0100 Add missing target directive in OpenMP dispatch Fortran runtime test Without the target directive, the tes

[gcc/devel/omp/gcc-14] Only apply adjust_args in OpenMP dispatch if variant substitution occurs

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:73701e14e91c57cd3aefcddf835aec003d8ce49f commit 73701e14e91c57cd3aefcddf835aec003d8ce49f Author: Paul-Antoine Arras Date: Mon Jan 6 17:00:10 2025 +0100 Only apply adjust_args in OpenMP dispatch if variant substitution occurs This is a followup to 084ea8ad

[gcc/devel/omp/gcc-14] OpenMP: common C/C++ testcases for dispatch + adjust_args

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:fb0dad07be32276b35bae92a7a3c51fcd3daa972 commit fb0dad07be32276b35bae92a7a3c51fcd3daa972 Author: Paul-Antoine Arras Date: Wed Nov 20 15:28:58 2024 +0100 OpenMP: common C/C++ testcases for dispatch + adjust_args gcc/testsuite/ChangeLog: * c-c+

[gcc/devel/omp/gcc-14] Do not call cp_parser_omp_dispatch directly in cp_parser_pragma

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:7ba8e60967f74fa0adde03e494dc9f2a5be9497f commit 7ba8e60967f74fa0adde03e494dc9f2a5be9497f Author: Paul-Antoine Arras Date: Mon Jan 6 16:06:43 2025 +0100 Do not call cp_parser_omp_dispatch directly in cp_parser_pragma This is a followup to ed49709acda OpenM

[gcc/devel/omp/gcc-14] OpenMP: update documentation for dispatch and adjust_args

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:2d4682b9d86015d8f5f8b8a2862746d03673ee59 commit 2d4682b9d86015d8f5f8b8a2862746d03673ee59 Author: Paul-Antoine Arras Date: Mon May 27 11:48:34 2024 +0200 OpenMP: update documentation for dispatch and adjust_args libgomp/ChangeLog: * libgomp.te

[gcc/devel/omp/gcc-14] OpenMP: middle-end support for dispatch + adjust_args

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:b5c764108dfd0cdc97bdf829d8f3d4398259f811 commit b5c764108dfd0cdc97bdf829d8f3d4398259f811 Author: Paul-Antoine Arras Date: Wed Nov 20 15:28:57 2024 +0100 OpenMP: middle-end support for dispatch + adjust_args This patch adds middle-end support for the `dispatch

[gcc/devel/omp/gcc-14] OpenMP: Fortran front-end support for dispatch + adjust_args

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:1985a02ef74582d7cdcb2c139aa7d22a9c619dc3 commit 1985a02ef74582d7cdcb2c139aa7d22a9c619dc3 Author: Paul-Antoine Arras Date: Fri May 24 19:13:50 2024 +0200 OpenMP: Fortran front-end support for dispatch + adjust_args This patch adds support for the `dispatch` co

[gcc/devel/omp/gcc-14] OpenMP: C++ front-end support for dispatch + adjust_args

2025-01-27 Thread Paul-Antoine Arras via Gcc-cvs
https://gcc.gnu.org/g:a9164dde46c41794c97d40a1a0271db16512f2c0 commit a9164dde46c41794c97d40a1a0271db16512f2c0 Author: Paul-Antoine Arras Date: Wed Nov 20 15:28:58 2024 +0100 OpenMP: C++ front-end support for dispatch + adjust_args This patch adds C++ support for the `dispatch` co

[gcc r15-7224] Fortran: ICE in gfc_conv_expr_present w. defined assignment [PR118640]

2025-01-27 Thread Paul Thomas via Gcc-cvs
https://gcc.gnu.org/g:3600b1ff14a459e84bb40bdfea7cd8d2ffd73d8d commit r15-7224-g3600b1ff14a459e84bb40bdfea7cd8d2ffd73d8d Author: Paul Thomas Date: Mon Jan 27 09:55:26 2025 + Fortran: ICE in gfc_conv_expr_present w. defined assignment [PR118640] 2025-01-27 Paul Thomas

[gcc r15-7223] match.pd: Canonicalize unsigned division by power of two into right shift [PR118637]

2025-01-27 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:92a5c5100c25190622ca86b63586a598952546bf commit r15-7223-g92a5c5100c25190622ca86b63586a598952546bf Author: Jakub Jelinek Date: Mon Jan 27 10:22:28 2025 +0100 match.pd: Canonicalize unsigned division by power of two into right shift [PR118637] We already do t