[gcc r14-11545] LoongArch: Fix awk / sed usage for compatibility

2025-04-08 Thread LuluCheng via Gcc-cvs
https://gcc.gnu.org/g:4d5fd1176d1a5d387dbc53f00324f86a1afa2ecb commit r14-11545-g4d5fd1176d1a5d387dbc53f00324f86a1afa2ecb Author: Yang Yujie Date: Mon Apr 7 10:31:46 2025 +0800 LoongArch: Fix awk / sed usage for compatibility Tested with nawk, mawk, and gawk. gcc/ChangeLo

[gcc r15-9325] c++: lambda in concept [PR118698]

2025-04-08 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:94438ca82792063abf05823326695af25ab02d17 commit r15-9325-g94438ca82792063abf05823326695af25ab02d17 Author: Jason Merrill Date: Tue Apr 8 15:53:34 2025 -0400 c++: lambda in concept [PR118698] When normalizing is_foo for , we get to normalizing callable for

[gcc r14-11539] libstdc++: Replace use of std::min in ranges::uninitialized_xxx algos [PR101587]

2025-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:ef11c1573d16db756c246ac029a99947bdc01aa3 commit r14-11539-gef11c1573d16db756c246ac029a99947bdc01aa3 Author: Jonathan Wakely Date: Wed Mar 26 11:47:05 2025 + libstdc++: Replace use of std::min in ranges::uninitialized_xxx algos [PR101587] Because ranges c

[gcc r15-9324] LoongArch: Fix awk / sed usage for compatibility

2025-04-08 Thread LuluCheng via Gcc-cvs
https://gcc.gnu.org/g:6ed8c17c2bce631ae370d93164ceb6c1b5adf925 commit r15-9324-g6ed8c17c2bce631ae370d93164ceb6c1b5adf925 Author: Yang Yujie Date: Mon Apr 7 10:31:46 2025 +0800 LoongArch: Fix awk / sed usage for compatibility Tested with nawk, mawk, and gawk. gcc/ChangeLog

[gcc r15-9320] Doc: Copy-edit text about -Wno-xxx [PR90468]

2025-04-08 Thread Sandra Loosemore via Gcc-cvs
https://gcc.gnu.org/g:5c06ad9ab4a922c86265b2a1b167597c87b646f7 commit r15-9320-g5c06ad9ab4a922c86265b2a1b167597c87b646f7 Author: Sandra Loosemore Date: Tue Apr 8 16:58:05 2025 + Doc: Copy-edit text about -Wno-xxx [PR90468] The issue is specifically about a missing word, but I

[gcc r15-9321] testsuite: Fix gcc.dg/vect/pr99102.c command line

2025-04-08 Thread Richard Sandiford via Gcc-cvs
https://gcc.gnu.org/g:c3e1c23e8bd80284c4b7206ec260bb273d86da22 commit r15-9321-gc3e1c23e8bd80284c4b7206ec260bb273d86da22 Author: Richard Sandiford Date: Tue Apr 8 22:03:39 2025 +0100 testsuite: Fix gcc.dg/vect/pr99102.c command line The aarch64_sve256_hw line forced the vector len

[gcc/devel/omp/gcc-14] Merge remote-tracking branch 'origin/releases/gcc-14' into devel/omp/gcc-14

2025-04-08 Thread Tobias Burnus via Libstdc++-cvs
https://gcc.gnu.org/g:b25ca248132a79766ea6f1e8c5b9bd691ba399f3 commit b25ca248132a79766ea6f1e8c5b9bd691ba399f3 Merge: e14ab294c02f 059107eb22c4 Author: Tobias Burnus Date: Tue Apr 8 23:51:05 2025 +0200 Merge remote-tracking branch 'origin/releases/gcc-14' into devel/omp/gcc-14 Mer

[gcc/devel/omp/gcc-14] OpenMP: Fix append_args handling in modify_call_for_omp_dispatch

2025-04-08 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:e14ab294c02ff6a1c63aee447d4cc47b74462d1a commit e14ab294c02ff6a1c63aee447d4cc47b74462d1a Author: Tobias Burnus Date: Tue Apr 8 13:47:53 2025 +0200 OpenMP: Fix append_args handling in modify_call_for_omp_dispatch At tree level, the addr ref is also required fo

[gcc/devel/omp/gcc-14] (112 commits) Merge remote-tracking branch 'origin/releases/gcc-14' into

2025-04-08 Thread Tobias Burnus via Gcc-cvs
The branch 'devel/omp/gcc-14' was updated to point to: b25ca248132a... Merge remote-tracking branch 'origin/releases/gcc-14' into It previously pointed to: be92d54c5622... OpenMP: Require target and/or targetsync init modifier [PR1 Diff: Summary of changes (added commits): -

[gcc r15-9322] testsuite: Update guality XFAILs for aarch64

2025-04-08 Thread Richard Sandiford via Gcc-cvs
https://gcc.gnu.org/g:ed14cb27b6c8c46bed55ae7ff4ad837c33e2c6e0 commit r15-9322-ged14cb27b6c8c46bed55ae7ff4ad837c33e2c6e0 Author: Richard Sandiford Date: Tue Apr 8 22:03:39 2025 +0100 testsuite: Update guality XFAILs for aarch64 In previous years, I've tried to update the guality t

[gcc r13-9499] libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587]

2025-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:09584eb968ef4751a704ee6a79ac1f31fd7beec8 commit r13-9499-g09584eb968ef4751a704ee6a79ac1f31fd7beec8 Author: Jonathan Wakely Date: Wed Mar 26 11:47:05 2025 + libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587] In r15-8980-gf4b

[gcc r13-9498] libstdc++: Replace use of std::min in ranges::uninitialized_xxx algos [PR101587]

2025-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:b07ff1f34c0e74b7d812baa1bd5987ba2c8b9625 commit r13-9498-gb07ff1f34c0e74b7d812baa1bd5987ba2c8b9625 Author: Jonathan Wakely Date: Wed Mar 26 11:47:05 2025 + libstdc++: Replace use of std::min in ranges::uninitialized_xxx algos [PR101587] Because ranges ca

[gcc r13-9500] libstdc++: Fix use-after-free in std::format [PR119671]

2025-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:6c61f43b8cd410125026429a6ea87308dd49a786 commit r13-9500-g6c61f43b8cd410125026429a6ea87308dd49a786 Author: Jonathan Wakely Date: Mon Apr 7 19:52:55 2025 +0100 libstdc++: Fix use-after-free in std::format [PR119671] When formatting floating-point values to wid

[gcc r13-9497] ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318)

2025-04-08 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:659e222b82c41ae0730a0bb93d891864b6ae5e16 commit r13-9497-g659e222b82c41ae0730a0bb93d891864b6ae5e16 Author: Martin Jambor Date: Fri Mar 7 17:17:24 2025 +0100 ipa-cp: Avoid ICE when redistributing nodes among edges to recursive clones (PR 118318) PR 118318 rep

[gcc r15-9318] d: Fix infinite loop in isAliasThisTuple

2025-04-08 Thread Iain Buclaw via Gcc-cvs
https://gcc.gnu.org/g:639376154eaffe683f4027c95a08c5d30922b12d commit r15-9318-g639376154eaffe683f4027c95a08c5d30922b12d Author: Iain Buclaw Date: Tue Apr 8 16:36:15 2025 +0200 d: Fix infinite loop in isAliasThisTuple This reverts a change in the upstream D implementation of the c

[gcc r15-9319] libphobos: Merge with upstream phobos 35977c802

2025-04-08 Thread Iain Buclaw via Gcc-cvs
https://gcc.gnu.org/g:7767158577fd5a5cfdd9bf0c7ba8d47942d8940a commit r15-9319-g7767158577fd5a5cfdd9bf0c7ba8d47942d8940a Author: Iain Buclaw Date: Tue Apr 8 16:41:10 2025 +0200 libphobos: Merge with upstream phobos 35977c802 Synchronizes recent bug fixes targeted for v2.111.1.

[gcc r14-11541] libstdc++: Add new header to Doxygen config file

2025-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:7e789f34206f29ae501ddba87faf0e73658a4c5c commit r14-11541-g7e789f34206f29ae501ddba87faf0e73658a4c5c Author: Jonathan Wakely Date: Thu Apr 3 15:36:08 2025 +0100 libstdc++: Add new header to Doxygen config file libstdc++-v3/ChangeLog: * doc/dox

[gcc r14-11542] libstdc++: Fix use-after-free in std::format [PR119671]

2025-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:059107eb22c4800be94abb1ff9085341cc851432 commit r14-11542-g059107eb22c4800be94abb1ff9085341cc851432 Author: Jonathan Wakely Date: Mon Apr 7 19:52:55 2025 +0100 libstdc++: Fix use-after-free in std::format [PR119671] When formatting floating-point values to wi

[gcc r14-11540] libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587]

2025-04-08 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:7ad64ffe10f87cbd28f0d9719469edda61b8 commit r14-11540-g7ad64ffe10f87cbd28f0d9719469edda61b8 Author: Jonathan Wakely Date: Wed Mar 26 11:47:05 2025 + libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587] In r15-8980-gf4

[gcc r15-9294] gccrs: Remove unused error constructor and getter

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a3148850a5ac0640b0b352a387e6df5c958861a9 commit r15-9294-ga3148850a5ac0640b0b352a387e6df5c958861a9 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 16:08:37 2025 +0200 gccrs: Remove unused error constructor and getter These constructor for eroneous state are not

[gcc r15-9301] gccrs: Rename label getter in ContinueExpr

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:c4ec1bc7b2ff98e20b20fd34a490b0d711b19f2c commit r15-9301-gc4ec1bc7b2ff98e20b20fd34a490b0d711b19f2c Author: Pierre-Emmanuel Patry Date: Thu Apr 3 14:40:15 2025 +0200 gccrs: Rename label getter in ContinueExpr gcc/rust/ChangeLog: * ast/rust-ast

[gcc r15-9317] cobol: Further fixes for cobol cross-compilation from 32-bit arches [PR119364]

2025-04-08 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:1b5b02be5740b69f670b1591ac63eb6a69ff1f79 commit r15-9317-g1b5b02be5740b69f670b1591ac63eb6a69ff1f79 Author: Jakub Jelinek Date: Tue Apr 8 15:57:45 2025 +0200 cobol: Further fixes for cobol cross-compilation from 32-bit arches [PR119364] On top of https://

[gcc r15-9305] gccrs: nr2.0: Adjust test macro6.rs

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:29ed33631f0eb4c88c8b253d5245958304102217 commit r15-9305-g29ed33631f0eb4c88c8b253d5245958304102217 Author: Owen Avery Date: Sun Mar 23 21:40:47 2025 -0400 gccrs: nr2.0: Adjust test macro6.rs gcc/testsuite/ChangeLog: * rust/compile/macros/mbe/

[gcc r15-9316] simplify-rtx: Fix up POPCOUNT optimization [PR119672]

2025-04-08 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:04918a2d3f20b02ac3efad1096c33894d57789a0 commit r15-9316-g04918a2d3f20b02ac3efad1096c33894d57789a0 Author: Jakub Jelinek Date: Tue Apr 8 15:14:58 2025 +0200 simplify-rtx: Fix up POPCOUNT optimization [PR119672] The gcc.dg/vect/pr113281-1.c test and many other

[gcc/devel/rust/master] nr2.0: Improve test script

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b9aaa6192f3310a0cb26f7773b31703a8c9c544c commit b9aaa6192f3310a0cb26f7773b31703a8c9c544c Author: Owen Avery Date: Sun Mar 30 19:08:45 2025 -0400 nr2.0: Improve test script gcc/testsuite/ChangeLog: * rust/compile/nr2/compile.exp: Avoid absolut

[gcc r15-9299] gccrs: Adapt testcase to name resolution 2.0

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:7ae95869c83ae3ff23c97292a43bedbfe3387364 commit r15-9299-g7ae95869c83ae3ff23c97292a43bedbfe3387364 Author: Pierre-Emmanuel Patry Date: Wed Apr 2 18:20:54 2025 +0200 gccrs: Adapt testcase to name resolution 2.0 Name resolution 2.0 behavior matches more closely

[gcc r15-9315] c: fix checking for a tag for variably modified tagged types [PR119612]

2025-04-08 Thread Martin Uecker via Gcc-cvs
https://gcc.gnu.org/g:a3382d9d675f42db96a51d902afc49a0a4cfadee commit r15-9315-ga3382d9d675f42db96a51d902afc49a0a4cfadee Author: Martin Uecker Date: Fri Apr 4 21:01:48 2025 +0200 c: fix checking for a tag for variably modified tagged types [PR119612] The checking assertion added f

[gcc r15-9284] gccrs: hir: Add default qualifier to function, lower it properly

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:6410c1dddabc0fbb226f14e95590b1276574e8fd commit r15-9284-g6410c1dddabc0fbb226f14e95590b1276574e8fd Author: Arthur Cohen Date: Tue Apr 1 17:45:28 2025 +0200 gccrs: hir: Add default qualifier to function, lower it properly gcc/rust/ChangeLog: *

[gcc/devel/rust/master] Update ast visitor with proper check for looplabel

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:8a65b913d4c4f00c2b8aa6827c733786e4a0266e commit 8a65b913d4c4f00c2b8aa6827c733786e4a0266e Author: Pierre-Emmanuel Patry Date: Tue Apr 1 16:10:38 2025 +0200 Update ast visitor with proper check for looplabel The visitor was visiting loop label even when they di

[gcc/devel/rust/master] Visit loop label before predicate expression

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b079d612f685de0d7780837bae5bfe88ce46ccbe commit b079d612f685de0d7780837bae5bfe88ce46ccbe Author: Pierre-Emmanuel Patry Date: Tue Apr 1 12:02:31 2025 +0200 Visit loop label before predicate expression If the label is referenced within the while predicate expre

[gcc/devel/rust/master] Adapt testcase to name resolution 2.0

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a179c05f228cace7bcaba8c550e0550993ff5a46 commit a179c05f228cace7bcaba8c550e0550993ff5a46 Author: Pierre-Emmanuel Patry Date: Wed Apr 2 18:20:54 2025 +0200 Adapt testcase to name resolution 2.0 Name resolution 2.0 behavior matches more closely rustc's behavior

[gcc/devel/rust/master] Resolve labels

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:be0d14806500f75266d2ad507cf7018de6a24766 commit be0d14806500f75266d2ad507cf7018de6a24766 Author: Pierre-Emmanuel Patry Date: Mon Mar 31 17:00:11 2025 +0200 Resolve labels gcc/rust/ChangeLog: * hir/rust-ast-lower.cc (ASTLoweringBlock::visit):

[gcc/devel/rust/master] hir: Add default qualifier to function, lower it properly

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:861dcf6f8f7b2e50f8dcbe59338cac8cac8efd26 commit 861dcf6f8f7b2e50f8dcbe59338cac8cac8efd26 Author: Arthur Cohen Date: Tue Apr 1 17:45:28 2025 +0200 hir: Add default qualifier to function, lower it properly gcc/rust/ChangeLog: * ast/rust-ast.cc

[gcc/devel/rust/master] Fix unresolved label error message

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5562e72c96ef45a561c7ec0e9bf6f1ebb87b982c commit 5562e72c96ef45a561c7ec0e9bf6f1ebb87b982c Author: Pierre-Emmanuel Patry Date: Wed Apr 2 17:38:28 2025 +0200 Fix unresolved label error message gcc/rust/ChangeLog: * resolve/rust-ast-resolve-expr.

[gcc r15-9313] c++: self-dependent alias template [PR117530]

2025-04-08 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:d034c78c7be613db3c25fddec1dd50222327117b commit r15-9313-gd034c78c7be613db3c25fddec1dd50222327117b Author: Jason Merrill Date: Mon Apr 7 14:35:14 2025 -0400 c++: self-dependent alias template [PR117530] Here, instantiating B means instantiating A, which means

[gcc r15-9312] riscv: Fix a typo in config/riscv/freebsd.h [PR119678]

2025-04-08 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:f53c5cde64770d6c175737a50fea81feba80 commit r15-9312-gf53c5cde64770d6c175737a50fea81feba80 Author: Jakub Jelinek Date: Tue Apr 8 12:39:16 2025 +0200 riscv: Fix a typo in config/riscv/freebsd.h [PR119678] The r15-1124 commit had a typo in one of the FB

[gcc/devel/rust/master] feature: Add min_specialization feature

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:9684625ab897b3ff322642d99563bac64b1383b7 commit 9684625ab897b3ff322642d99563bac64b1383b7 Author: Arthur Cohen Date: Tue Apr 1 17:45:00 2025 +0200 feature: Add min_specialization feature gcc/rust/ChangeLog: * checks/errors/rust-feature.cc (Fea

[gcc r15-9311] GCN, nvptx: Define '_Unwind_RaiseException', '_Unwind_Resume_or_Rethrow'

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:54ab0f6785c006ddff056dab9c0240cddae82020 commit r15-9311-g54ab0f6785c006ddff056dab9c0240cddae82020 Author: Thomas Schwinge Date: Tue Mar 18 10:10:30 2025 +0100 GCN, nvptx: Define '_Unwind_RaiseException', '_Unwind_Resume_or_Rethrow' This resolves GCN:

[gcc r15-9310] GCN, nvptx: Define '_Unwind_DeleteException'

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:815abd68353751d53ed9299e218f8ca1cc108d5f commit r15-9310-g815abd68353751d53ed9299e218f8ca1cc108d5f Author: Thomas Schwinge Date: Tue Mar 18 10:10:30 2025 +0100 GCN, nvptx: Define '_Unwind_DeleteException' This resolves GCN: ld: error: undefined s

[gcc r15-9309] nvptx: In offloading compilation, special-case certain host-setup symbol aliases: avoid unused label

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:175016de6f9d800343ce31cf1837a3265569b657 commit r15-9309-g175016de6f9d800343ce31cf1837a3265569b657 Author: Thomas Schwinge Date: Mon Apr 7 12:39:33 2025 +0200 nvptx: In offloading compilation, special-case certain host-setup symbol aliases: avoid unused label 'emit_p

[gcc/devel/rust/master] gccrs: refactoring rust_error_at "redefined multiple times"

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:9554470e7f876f8b05f2620ecca376c319191d1d commit 9554470e7f876f8b05f2620ecca376c319191d1d Author: Sri Ganesh Thota Date: Tue Mar 25 18:30:58 2025 +0530 gccrs: refactoring rust_error_at "redefined multiple times" gcc/rust/ChangeLog: * resolve/r

[gcc/devel/rust/master] nr2.0: Adjust test issue-2812.rs

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:22bf192a72383a1f41d92a833487b1eacbe30446 commit 22bf192a72383a1f41d92a833487b1eacbe30446 Author: Owen Avery Date: Mon Mar 24 18:27:41 2025 -0400 nr2.0: Adjust test issue-2812.rs gcc/testsuite/ChangeLog: * rust/compile/issue-2812.rs: Avoid mul

[gcc r15-9277] gccrs: Fix ICE when resolving lifetimes without name

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:4f110b297d4e764df001099b1fb647dddf8ac278 commit r15-9277-g4f110b297d4e764df001099b1fb647dddf8ac278 Author: Philip Herron Date: Mon Mar 31 17:33:59 2025 +0100 gccrs: Fix ICE when resolving lifetimes without name We dont need to assert here the lifetime code al

[gcc r15-9306] lto: Add & ~CF_SET into lto-opts.cc [PR119625]

2025-04-08 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:15baa0055601a00b77e2e0ed6259bbc9e5ea5fa9 commit r15-9306-g15baa0055601a00b77e2e0ed6259bbc9e5ea5fa9 Author: Jakub Jelinek Date: Tue Apr 8 11:53:34 2025 +0200 lto: Add & ~CF_SET into lto-opts.cc [PR119625] The following patch uses & ~CF_SET so that we get the -

[gcc/devel/rust/master] Rename label getter to unchecked

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:1d07cf75d5c558728d95a668a06dd7ecb4f5bb47 commit 1d07cf75d5c558728d95a668a06dd7ecb4f5bb47 Author: Pierre-Emmanuel Patry Date: Thu Apr 3 15:43:40 2025 +0200 Rename label getter to unchecked gcc/rust/ChangeLog: * ast/rust-ast-collector.cc (Token

[gcc r15-9278] gccrs: Fix ICE when there are 2 functions named main

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:b1afef95601fd2f0323dd508a171267ff04f755b commit r15-9278-gb1afef95601fd2f0323dd508a171267ff04f755b Author: Philip Herron Date: Wed Apr 2 16:16:47 2025 +0100 gccrs: Fix ICE when there are 2 functions named main We need to setup the main_identifier_node for MAI

[gcc/devel/rust/master] nr2.0: Adjust test macro6.rs

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d61c21976610a13fa255093dff10f9aa6e4b3040 commit d61c21976610a13fa255093dff10f9aa6e4b3040 Author: Owen Avery Date: Sun Mar 23 21:40:47 2025 -0400 nr2.0: Adjust test macro6.rs gcc/testsuite/ChangeLog: * rust/compile/macros/mbe/macro6.rs: Remove

[gcc/devel/rust/master] Rename label getter in ContinueExpr

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:416e4b8449175e1862807f37d8c2bda554942ec8 commit 416e4b8449175e1862807f37d8c2bda554942ec8 Author: Pierre-Emmanuel Patry Date: Thu Apr 3 14:40:15 2025 +0200 Rename label getter in ContinueExpr gcc/rust/ChangeLog: * ast/rust-ast-collector.cc (To

[gcc/devel/rust/master] Change optional to expected for parse_loop_label

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5ab8589e09ccaf7d36c9331425fba9413f40b26b commit 5ab8589e09ccaf7d36c9331425fba9413f40b26b Author: Pierre-Emmanuel Patry Date: Thu Apr 3 13:16:33 2025 +0200 Change optional to expected for parse_loop_label gcc/rust/ChangeLog: * parse/rust-parse

[gcc/devel/rust/master] Resolve labels within break or continue expressions

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:429897c851b460b9256d96e3e504dfe15342d125 commit 429897c851b460b9256d96e3e504dfe15342d125 Author: Pierre-Emmanuel Patry Date: Wed Apr 2 17:41:54 2025 +0200 Resolve labels within break or continue expressions gcc/rust/ChangeLog: * resolve/rust-

[gcc/devel/rust/master] Remove unused error constructor and getter

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:75b7b7c210c62405a29068826d5ebb67ac6d6d68 commit 75b7b7c210c62405a29068826d5ebb67ac6d6d68 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 16:08:37 2025 +0200 Remove unused error constructor and getter These constructor for eroneous state are not in use anymore s

[gcc/devel/rust/master] Add check for label

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:676e3eacc36a233dec52023faa9f3c78007bbabe commit 676e3eacc36a233dec52023faa9f3c78007bbabe Author: Pierre-Emmanuel Patry Date: Mon Mar 31 17:01:18 2025 +0200 Add check for label gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (DefaultASTVisitor::

[gcc/devel/rust/master] nr2.0: Remove duplicate self visit

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:ea91cee92d70de35def75cbae69eb4ac3189ee78 commit ea91cee92d70de35def75cbae69eb4ac3189ee78 Author: Owen Avery Date: Tue Apr 1 17:50:32 2025 -0400 nr2.0: Remove duplicate self visit gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (Defa

[gcc/devel/rust/master] gccrs: Fix ICE for reserved lifetime name

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:641f9a406118761f4399dc6e0636b2617bf90599 commit 641f9a406118761f4399dc6e0636b2617bf90599 Author: Philip Herron Date: Thu Apr 3 16:32:36 2025 +0100 gccrs: Fix ICE for reserved lifetime name This is a reserved name so this changes the assertion to a diagnostic.

[gcc/devel/rust/master] gccrs: Fix ICE when hitting invalid types for generics

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:8022ca11ed991cba51843c3226e4de9c2b795ecc commit 8022ca11ed991cba51843c3226e4de9c2b795ecc Author: Philip Herron Date: Wed Apr 2 21:02:44 2025 +0100 gccrs: Fix ICE when hitting invalid types for generics We need to check upfront if the type is valid or not. The

[gcc/devel/rust/master] gccrs: Fix ICE on invalid match arms

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:002c349b6d0f8c12d26beaff178785524f155583 commit 002c349b6d0f8c12d26beaff178785524f155583 Author: Philip Herron Date: Thu Apr 3 15:37:40 2025 +0100 gccrs: Fix ICE on invalid match arms We hit assertions on empty enum or unknown variant, this catches the error

[gcc/devel/rust/master] gccrs: Fix ICE on raw reference

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:314090971a51037bb77e36b46c7a10652b9e6c3f commit 314090971a51037bb77e36b46c7a10652b9e6c3f Author: Philip Herron Date: Thu Apr 3 15:39:58 2025 +0100 gccrs: Fix ICE on raw reference This patch adds support for raw references which enforce the pointer type aw

[gcc/devel/rust/master] gccrs: Fix recusive type query and nullptr on type path

2025-04-08 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:67017c92b8cb51064243c9c76b0fafe3c80e17b2 commit 67017c92b8cb51064243c9c76b0fafe3c80e17b2 Author: Philip Herron Date: Wed Apr 2 18:21:46 2025 +0100 gccrs: Fix recusive type query and nullptr on type path This was a small fix to sort out the segfault to check f

[gcc r15-9296] gccrs: Migrate error state to optionals

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:827ceac9e1b7d95d353168f3f3a9e92f8091404f commit r15-9296-g827ceac9e1b7d95d353168f3f3a9e92f8091404f Author: Pierre-Emmanuel Patry Date: Tue Apr 1 19:55:28 2025 +0200 gccrs: Migrate error state to optionals gcc/rust/ChangeLog: * ast/rust-ast-bu

[gcc r15-9292] gccrs: Visit loop label before predicate expression

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d7bbb929a884bd429bc4b43d9fed57d57ab285b4 commit r15-9292-gd7bbb929a884bd429bc4b43d9fed57d57ab285b4 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 12:02:31 2025 +0200 gccrs: Visit loop label before predicate expression If the label is referenced within the whil

[gcc r15-9279] gccrs: Fix recusive type query and nullptr on type path

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:f388cac59df2704026b6a0585efba70154640b12 commit r15-9279-gf388cac59df2704026b6a0585efba70154640b12 Author: Philip Herron Date: Wed Apr 2 18:21:46 2025 +0100 gccrs: Fix recusive type query and nullptr on type path This was a small fix to sort out the segfault

[gcc r15-9298] gccrs: Resolve labels within break or continue expressions

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:fb890cd43bc158af37fea846c423e069a90a9436 commit r15-9298-gfb890cd43bc158af37fea846c423e069a90a9436 Author: Pierre-Emmanuel Patry Date: Wed Apr 2 17:41:54 2025 +0200 gccrs: Resolve labels within break or continue expressions gcc/rust/ChangeLog:

[gcc r15-9288] gccrs: refactoring rust_error_at "redefined multiple times"

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:72a0fb9d9897347e938f560aaf5f99e95838d5bd commit r15-9288-g72a0fb9d9897347e938f560aaf5f99e95838d5bd Author: Sri Ganesh Thota Date: Tue Mar 25 18:30:58 2025 +0530 gccrs: refactoring rust_error_at "redefined multiple times" gcc/rust/ChangeLog: *

[gcc r15-9297] gccrs: Fix unresolved label error message

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:8c51fd896d02cf515c8919b1a4be52739434060b commit r15-9297-g8c51fd896d02cf515c8919b1a4be52739434060b Author: Pierre-Emmanuel Patry Date: Wed Apr 2 17:38:28 2025 +0200 gccrs: Fix unresolved label error message gcc/rust/ChangeLog: * resolve/rust-

[gcc r15-9304] gccrs: nr2.0: Adjust test issue-2812.rs

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:df45e75724f064b431a0dceb26a4f7320ef7018b commit r15-9304-gdf45e75724f064b431a0dceb26a4f7320ef7018b Author: Owen Avery Date: Mon Mar 24 18:27:41 2025 -0400 gccrs: nr2.0: Adjust test issue-2812.rs gcc/testsuite/ChangeLog: * rust/compile/issue-2

[gcc r15-9281] gccrs: Fix ICE on raw reference

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:f7fc904335edd53f428d76cd85a7bf3f8b55b2fe commit r15-9281-gf7fc904335edd53f428d76cd85a7bf3f8b55b2fe Author: Philip Herron Date: Thu Apr 3 15:39:58 2025 +0100 gccrs: Fix ICE on raw reference This patch adds support for raw references which enforce the pointer

[gcc r15-9295] gccrs: Update ast visitor with proper check for looplabel

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:3cf4d5cb996a062a22fe6fb496a622ec7519bd65 commit r15-9295-g3cf4d5cb996a062a22fe6fb496a622ec7519bd65 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 16:10:38 2025 +0200 gccrs: Update ast visitor with proper check for looplabel The visitor was visiting loop label

[gcc r15-9291] gccrs: Add check for label

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d85a88aa3fdf2a5d66288d5809da864b956cc8d4 commit r15-9291-gd85a88aa3fdf2a5d66288d5809da864b956cc8d4 Author: Pierre-Emmanuel Patry Date: Mon Mar 31 17:01:18 2025 +0200 gccrs: Add check for label gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (De

[gcc r15-9289] gccrs: Revert part of 44ffe1193269

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d307dddfc1a7dd406e488b08a390ae5908542b1a commit r15-9289-gd307dddfc1a7dd406e488b08a390ae5908542b1a Author: Pierre-Emmanuel Patry Date: Thu Apr 3 17:27:46 2025 +0200 gccrs: Revert part of 44ffe1193269 This commit got rid of msvc specific code and remove the el

[gcc r15-9280] gccrs: Fix ICE on invalid match arms

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:0f37641978a2ef2b7a50d230a16637a3cfd46c2d commit r15-9280-g0f37641978a2ef2b7a50d230a16637a3cfd46c2d Author: Philip Herron Date: Thu Apr 3 15:37:40 2025 +0100 gccrs: Fix ICE on invalid match arms We hit assertions on empty enum or unknown variant, this catches

[gcc r15-9276] gccrs: Fix ICE when doing shift checks on const decl

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:e873e2a0b15871fb0bcdb07155fc9a7407f66286 commit r15-9276-ge873e2a0b15871fb0bcdb07155fc9a7407f66286 Author: Philip Herron Date: Mon Mar 31 17:58:24 2025 +0100 gccrs: Fix ICE when doing shift checks on const decl Const decls are just delcarations wrapping the v

[gcc r15-9300] gccrs: Change optional to expected for parse_loop_label

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:37908277b1caeaea1e7d110692082928776401ae commit r15-9300-g37908277b1caeaea1e7d110692082928776401ae Author: Pierre-Emmanuel Patry Date: Thu Apr 3 13:16:33 2025 +0200 gccrs: Change optional to expected for parse_loop_label gcc/rust/ChangeLog: *

[gcc r15-9303] gccrs: fix ICE segfault with empty feature gate

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a75a697ff0a5bafd23c468940943b80082088dba commit r15-9303-ga75a697ff0a5bafd23c468940943b80082088dba Author: Matty Kuhn Date: Fri Apr 4 18:09:41 2025 -0600 gccrs: fix ICE segfault with empty feature gate This patch fixes an issue where an empty feature gate wou

[gcc r15-9293] gccrs: Make loop label truly optional

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:ff04ba261afe95ae7dc20099aab599de11480589 commit r15-9293-gff04ba261afe95ae7dc20099aab599de11480589 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 15:57:47 2025 +0200 gccrs: Make loop label truly optional A loop label error state was in use to represent missing

[gcc r15-9275] gccrs: nr2.0: Handle global paths

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:0282fd7cabe365e639deb8848cf29fbd00470e63 commit r15-9275-g0282fd7cabe365e639deb8848cf29fbd00470e63 Author: Owen Avery Date: Mon Mar 24 22:49:12 2025 -0400 gccrs: nr2.0: Handle global paths gcc/rust/ChangeLog: * resolve/rust-forever-stack.h

[gcc r15-9285] gccrs: Fix ICE for reserved lifetime name

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:381da0e21dac1579156de9d76d58610b104f5699 commit r15-9285-g381da0e21dac1579156de9d76d58610b104f5699 Author: Philip Herron Date: Thu Apr 3 16:32:36 2025 +0100 gccrs: Fix ICE for reserved lifetime name This is a reserved name so this changes the assertion to a d

[gcc r15-9283] gccrs: feature: Add min_specialization feature

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:c5f1d576a224a61fa4c924ab5bf5ed038d7fdbc9 commit r15-9283-gc5f1d576a224a61fa4c924ab5bf5ed038d7fdbc9 Author: Arthur Cohen Date: Tue Apr 1 17:45:00 2025 +0200 gccrs: feature: Add min_specialization feature gcc/rust/ChangeLog: * checks/errors/rus

[gcc r15-9287] gccrs: nr2.0: Improve test script

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:89ca1e3cb697a87f02682a1fb1f62f02d0671c57 commit r15-9287-g89ca1e3cb697a87f02682a1fb1f62f02d0671c57 Author: Owen Avery Date: Sun Mar 30 19:08:45 2025 -0400 gccrs: nr2.0: Improve test script gcc/testsuite/ChangeLog: * rust/compile/nr2/compile.e

[gcc r15-9273] libstdc++: Fix use-after-free in std::format [PR119671]

2025-04-08 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:e33b62eed7fd0a82d758b23252d288585b6790d2 commit r15-9273-ge33b62eed7fd0a82d758b23252d288585b6790d2 Author: Jonathan Wakely Date: Mon Apr 7 19:52:55 2025 +0100 libstdc++: Fix use-after-free in std::format [PR119671] When formatting floating-point values to wid