[gcc r15-8793] gccrs: add discriminant value intrinsic

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:b5106eeabdb5ebcd4bb6b2fa5dbb6932b9f406f6 commit r15-8793-gb5106eeabdb5ebcd4bb6b2fa5dbb6932b9f406f6 Author: Philip Herron Date: Mon Feb 10 16:28:30 2025 + gccrs: add discriminant value intrinsic This is pretty nasty piece of rust in my opinion the return t

[gcc r15-8805] gccrs: Add type check on if-expr

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:75db9aed8d9103f180acb9630603be0858ac87d2 commit r15-8805-g75db9aed8d9103f180acb9630603be0858ac87d2 Author: Benjamin Thos Date: Mon Dec 16 14:11:38 2024 +0100 gccrs: Add type check on if-expr Check if an if-expr returns void type or a coercible type like an ea

[gcc r15-8831] gccrs: Adjust unknown macro error message

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:f60b2106af745bebd0532fba361761b58a2e1acb commit r15-8831-gf60b2106af745bebd0532fba361761b58a2e1acb Author: Owen Avery Date: Tue Feb 25 10:16:18 2025 -0500 gccrs: Adjust unknown macro error message gcc/rust/ChangeLog: * resolve/rust-early-name

[gcc r15-8835] gccrs: Reduce usage of rust-session-manager.h

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:e06530a531efc6d9c6e4911bf57d6f8caadc0a68 commit r15-8835-ge06530a531efc6d9c6e4911bf57d6f8caadc0a68 Author: Owen Avery Date: Sat Mar 1 18:05:07 2025 -0500 gccrs: Reduce usage of rust-session-manager.h gcc/rust/ChangeLog: * util/rust-edition.cc

[gcc r15-8834] gccrs: session-manager: Call into DesugarQuestionMark

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a136e94e9da62b18917db161c5309f70ea714faa commit r15-8834-ga136e94e9da62b18917db161c5309f70ea714faa Author: Arthur Cohen Date: Thu Jan 23 11:46:09 2025 + gccrs: session-manager: Call into DesugarQuestionMark gcc/rust/ChangeLog: * rust-sess

[gcc r15-8824] gccrs: hir-dump: Fix more segfaults in the HIR dump

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:2ab119672d428d5e00f333c652bf7a23847ac922 commit r15-8824-g2ab119672d428d5e00f333c652bf7a23847ac922 Author: Arthur Cohen Date: Fri Dec 20 18:00:48 2024 + gccrs: hir-dump: Fix more segfaults in the HIR dump gcc/rust/ChangeLog: * hir/rust-hi

[gcc r15-8811] gccrs: ast-builder: Add new methods for creating operator expressions

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:1a58f2b23f00274e3e92f3916172031f8eaaae83 commit r15-8811-g1a58f2b23f00274e3e92f3916172031f8eaaae83 Author: Arthur Cohen Date: Fri Jan 31 13:24:02 2025 + gccrs: ast-builder: Add new methods for creating operator expressions gcc/rust/ChangeLog:

[gcc r15-8816] gccrs: derive(Eq): Also derive StructuralEq

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:ee743907d9bdaaa4e6717ab4c62e322d0987e801 commit r15-8816-gee743907d9bdaaa4e6717ab4c62e322d0987e801 Author: Arthur Cohen Date: Tue Feb 4 16:12:25 2025 +0100 gccrs: derive(Eq): Also derive StructuralEq gcc/rust/ChangeLog: * expand/rust-derive-e

[gcc r15-8795] gccrs: enum type layout needs to respect the enum repr type

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:980ae7ad44397cdebf4e115546fff0b42493a247 commit r15-8795-g980ae7ad44397cdebf4e115546fff0b42493a247 Author: Philip Herron Date: Tue Feb 11 17:51:22 2025 + gccrs: enum type layout needs to respect the enum repr type Addresses Rust-GCC#3352 gcc/rust

[gcc r15-8853] gccrs: Fix canonical path parent resolution

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:05c3b5171462b8b6b6652c31eda12ac578c2e6e0 commit r15-8853-g05c3b5171462b8b6b6652c31eda12ac578c2e6e0 Author: Pierre-Emmanuel Patry Date: Tue Mar 11 14:33:05 2025 +0100 gccrs: Fix canonical path parent resolution The algorithm was comparing using the wrong id, t

[gcc r15-8812] gccrs: derive(Clone): chore: Cleanup

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:20580f75496c1071c52273e2dc6cc289304206fa commit r15-8812-g20580f75496c1071c52273e2dc6cc289304206fa Author: Arthur Cohen Date: Fri Jan 31 17:58:24 2025 + gccrs: derive(Clone): chore: Cleanup gcc/rust/ChangeLog: * expand/rust-derive-clone.c

[gcc r15-8822] gccrs: derive(Debug): Use builder's ptrify function instead

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:0287030e7704094133feaba8e3675c52f2439ec2 commit r15-8822-g0287030e7704094133feaba8e3675c52f2439ec2 Author: Arthur Cohen Date: Fri Feb 21 14:54:09 2025 + gccrs: derive(Debug): Use builder's ptrify function instead gcc/rust/ChangeLog: * exp

[gcc r15-8857] gccrs: emit an error for type or const parameters on foreign items

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:8ad4296118148eecf28ade7c6fc537771bdfca06 commit r15-8857-g8ad4296118148eecf28ade7c6fc537771bdfca06 Author: Ryutaro Okada <1015ry...@gmail.com> Date: Fri Mar 14 21:25:03 2025 +0900 gccrs: emit an error for type or const parameters on foreign items gcc/rust/Chan

[gcc r15-8815] gccrs: derive(PartialEq): Also derive StructuralPartialEq

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:1e58453aa205ecd573182ab64ef1239ee6b9e181 commit r15-8815-g1e58453aa205ecd573182ab64ef1239ee6b9e181 Author: Arthur Cohen Date: Tue Feb 4 16:06:33 2025 +0100 gccrs: derive(PartialEq): Also derive StructuralPartialEq gcc/rust/ChangeLog: * expand

[gcc r15-8851] gccrs: Add a function to get the crate number from node id

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:76bc92cc92491ca12be6c3f268e2fdf2f6af3789 commit r15-8851-g76bc92cc92491ca12be6c3f268e2fdf2f6af3789 Author: Pierre-Emmanuel Patry Date: Mon Mar 10 15:13:27 2025 +0100 gccrs: Add a function to get the crate number from node id gcc/rust/ChangeLog:

[gcc r15-8829] gccrs: expansion: Expand generic args in generic type path segments

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:146dc9483b5597aea3390a3e3641d6c009068525 commit r15-8829-g146dc9483b5597aea3390a3e3641d6c009068525 Author: Arthur Cohen Date: Mon Feb 24 12:18:54 2025 +0100 gccrs: expansion: Expand generic args in generic type path segments gcc/rust/ChangeLog:

[gcc r15-8855] gccrs: nr2.0: Check compile/torture/*.rs tests

2025-03-24 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:7107f9261f7254a951ca9a8d99002f2fa2b32f89 commit r15-8855-g7107f9261f7254a951ca9a8d99002f2fa2b32f89 Author: Owen Avery Date: Sun Mar 2 18:54:37 2025 -0500 gccrs: nr2.0: Check compile/torture/*.rs tests gcc/testsuite/ChangeLog: * rust/compile/n

[gcc r15-8490] libstdc++: Fix localized D_T_FMT %c formatting for [PR117214]

2025-03-24 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:c24a1d58bc02daabafd5c94fca0984b70db811c8 commit r15-8490-gc24a1d58bc02daabafd5c94fca0984b70db811c8 Author: XU Kailiang Date: Sat Mar 1 13:23:21 2025 +0800 libstdc++: Fix localized D_T_FMT %c formatting for [PR117214] Formatting a time point with %c was imple

[gcc r15-8722] arm: testsuite: tighten scan-assembler in unaligned-memcpy-4.c

2025-03-24 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:beec790e2b5d55058c4323731ccffd07c203fd71 commit r15-8722-gbeec790e2b5d55058c4323731ccffd07c203fd71 Author: Richard Earnshaw Date: Mon Mar 24 11:22:05 2025 + arm: testsuite: tighten scan-assembler in unaligned-memcpy-4.c The scan-assembler-not pattern in t

[gcc r14-11442] c++: Don't mix timevar_start and auto_cond_timevar for TV_NAME_LOOKUP [PR116681]

2025-03-24 Thread Simon Martin via Gcc-cvs
https://gcc.gnu.org/g:8bac22817192349cad15c88e01a73798e2a783ad commit r14-11442-g8bac22817192349cad15c88e01a73798e2a783ad Author: Simon Martin Date: Mon Mar 24 08:15:54 2025 +0100 c++: Don't mix timevar_start and auto_cond_timevar for TV_NAME_LOOKUP [PR116681] We currently ICE up

[gcc r15-8874] vect: Add assert to expand_vector_conversion [PR118616]

2025-03-24 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:1c3d7800a1f27f8f30c9dc2995004814fd459363 commit r15-8874-g1c3d7800a1f27f8f30c9dc2995004814fd459363 Author: Andrew Pinski Date: Sun Mar 23 10:38:39 2025 -0700 vect: Add assert to expand_vector_conversion [PR118616] In some cases (after inliing due to LTO and -

<    1   2   3