[gcc r15-5931] RISC-V: Add const to function_shape::get_name [NFC]

2024-12-04 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:9bf4cad4e4e1ec92c320a619c9bad35535596ced commit r15-5931-g9bf4cad4e4e1ec92c320a619c9bad35535596ced Author: Kito Cheng Date: Tue Dec 3 00:44:09 2024 -0800 RISC-V: Add const to function_shape::get_name [NFC] function_shape::get_name is the funciton for building

[gcc r15-5929] compiler: traverse method declarations

2024-12-04 Thread Ian Lance Taylor via Gcc-cvs
https://gcc.gnu.org/g:9a53561075d7c2655d5fb6844c5493023b9bb813 commit r15-5929-g9a53561075d7c2655d5fb6844c5493023b9bb813 Author: Ian Lance Taylor Date: Tue Dec 3 20:25:47 2024 -0800 compiler: traverse method declarations We were not consistently traversing method declarations, whi

[gcc r15-5928] c++: give suggestion on misspelled class name [PR116771]

2024-12-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:2576dd68a60b3f317f89c8c007d0eea63151a793 commit r15-5928-g2576dd68a60b3f317f89c8c007d0eea63151a793 Author: David Malcolm Date: Wed Dec 4 17:34:27 2024 -0500 c++: give suggestion on misspelled class name [PR116771] gcc/cp/ChangeLog: PR c++/116771

[gcc r15-5927] libgdiagnostics: documentation tweaks

2024-12-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:68aefc6988dc34d4b9a2194f9fb08bccfe7a076b commit r15-5927-g68aefc6988dc34d4b9a2194f9fb08bccfe7a076b Author: David Malcolm Date: Wed Dec 4 15:01:34 2024 -0500 libgdiagnostics: documentation tweaks gcc/ChangeLog: * doc/libgdiagnostics/topics/executio

[gcc r15-5926] sched1: debug/model: dump predecessor list and BB num [NFC]

2024-12-04 Thread Vineet Gupta via Gcc-cvs
https://gcc.gnu.org/g:5598aa81c937be031dc856a38c250b256953f988 commit r15-5926-g5598aa81c937be031dc856a38c250b256953f988 Author: Vineet Gupta Date: Wed Dec 4 10:49:33 2024 -0800 sched1: debug/model: dump predecessor list and BB num [NFC] This is broken out of predecessor promotion

[gcc r15-5925] sched1: parameterize pressure scheduling spilling aggressiveness [PR/114729]

2024-12-04 Thread Vineet Gupta via Gcc-cvs
https://gcc.gnu.org/g:7bef3482f27ce13ba7e6c4f43943f28a49e63a40 commit r15-5925-g7bef3482f27ce13ba7e6c4f43943f28a49e63a40 Author: Vineet Gupta Date: Wed Dec 4 10:42:37 2024 -0800 sched1: parameterize pressure scheduling spilling aggressiveness [PR/114729] sched1 computes ECC (Exces

[gcc r15-5924] AVR: ad target/84211 - Fix dumping INSN_UID for null insn.

2024-12-04 Thread Georg-Johann Lay via Gcc-cvs
https://gcc.gnu.org/g:2b75fe3708f062a8bbb432d4b0002a7a94149ab3 commit r15-5924-g2b75fe3708f062a8bbb432d4b0002a7a94149ab3 Author: Georg-Johann Lay Date: Wed Dec 4 16:08:15 2024 +0100 AVR: ad target/84211 - Fix dumping INSN_UID for null insn. gcc/ PR target/84211

[gcc(refs/users/jmelcr/heads/omp-cp)] omp-cp: Move callback attr from callee to caller, add it to builtins

2024-12-04 Thread Josef Melcr via Gcc-cvs
https://gcc.gnu.org/g:a0c4cba52a5dc7db28810b44b209982df8144c37 commit a0c4cba52a5dc7db28810b44b209982df8144c37 Author: Josef Melcr Date: Wed Dec 4 19:27:44 2024 +0100 omp-cp: Move callback attr from callee to caller, add it to builtins gcc/ChangeLog: * builtin-att

[gcc/devel/rust/master] Make TyTy::TupleType::get_unit_type cache its return value

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:94957c0502bdee5567224f2fe556000b94cb4192 commit 94957c0502bdee5567224f2fe556000b94cb4192 Author: Owen Avery Date: Mon Oct 28 19:02:23 2024 -0400 Make TyTy::TupleType::get_unit_type cache its return value This removes a usage of Resolver::get_unit_type_node_id

[gcc/devel/rust/master] Fixes some tests appearing with a moved variant

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:33df697af5143bac051ccceefedc2d6e9f9e0128 commit 33df697af5143bac051ccceefedc2d6e9f9e0128 Author: Pierre-Emmanuel Patry Date: Mon Oct 28 18:08:52 2024 +0100 Fixes some tests appearing with a moved variant A variant being moved lead to a null being created and

[gcc/devel/rust/master] Prevent execution of some nr1.0 functions with nr2.0

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:eb1c8e462d4703cd938282aa23db35ddb2faa82b commit eb1c8e462d4703cd938282aa23db35ddb2faa82b Author: Owen Avery Date: Thu Nov 21 15:28:46 2024 -0500 Prevent execution of some nr1.0 functions with nr2.0 gcc/rust/ChangeLog: * resolve/rust-name-reso

[gcc r15-5923] contrib: Fix 2 bugs in check-params-in-docs.py

2024-12-04 Thread Filip Kastl via Gcc-cvs
https://gcc.gnu.org/g:15f5972e16e9a8f6ef0a372fdbe5359df3d0af1a commit r15-5923-g15f5972e16e9a8f6ef0a372fdbe5359df3d0af1a Author: Filip Kastl Date: Wed Dec 4 15:46:54 2024 +0100 contrib: Fix 2 bugs in check-params-in-docs.py In my last patch for check-params-in-docs.py I accidental

[gcc/devel/rust/master] gccrs: allow casts from numeric types to floats

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:2aff74974ec2400dbccc103d8f05d9e14def87b3 commit 2aff74974ec2400dbccc103d8f05d9e14def87b3 Author: Philip Herron Date: Tue Nov 26 15:33:35 2024 + gccrs: allow casts from numeric types to floats Fixes Rust-GCC#3261 gcc/rust/ChangeLog:

[gcc r15-5922] arm: use quotes when referring to command-line options [PR90160]

2024-12-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:a0ac8fa55a4749979faa56a9e8bd389252edc89f commit r15-5922-ga0ac8fa55a4749979faa56a9e8bd389252edc89f Author: David Malcolm Date: Wed Dec 4 08:40:34 2024 -0500 arm: use quotes when referring to command-line options [PR90160] gcc/ChangeLog: PR transla

[gcc/devel/rust/master] Clean up some system includes

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b3a8a1a7c28fe371377b9e9f119a1d9e8d0093c7 commit b3a8a1a7c28fe371377b9e9f119a1d9e8d0093c7 Author: Pierre-Emmanuel Patry Date: Fri Nov 22 12:20:09 2024 +0100 Clean up some system includes System includes shall use rust-system header instead. gcc/rust/C

[gcc/devel/rust/master] gccrs: Remove bad assertion in name resolution

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:fa93e280ed1c11d9775cb9c3211e13853d39c51c commit fa93e280ed1c11d9775cb9c3211e13853d39c51c Author: Philip Herron Date: Mon Dec 2 14:10:11 2024 + gccrs: Remove bad assertion in name resolution This was a handy debug assertion but only works for valid rust co

[gcc/devel/rust/master] gccrs: fix crash in hir dump

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:9e07940629545e8c1997e7d24f9f431f3a88cb70 commit 9e07940629545e8c1997e7d24f9f431f3a88cb70 Author: Philip Herron Date: Mon Dec 2 17:38:55 2024 + gccrs: fix crash in hir dump gcc/rust/ChangeLog: * hir/rust-hir-dump.cc (Dump::visit): add miss

[gcc/devel/rust/master] gccrs: add test case to show issue is fixed

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:7a081b0d71bf3dac6d5012cf3ed1824b77f5aef5 commit 7a081b0d71bf3dac6d5012cf3ed1824b77f5aef5 Author: Philip Herron Date: Mon Dec 2 17:02:25 2024 + gccrs: add test case to show issue is fixed Fixes Rust-GCC#266 gcc/testsuite/ChangeLog:

[gcc/devel/rust/master] gccrs: add checks for division by zero and left shift overflow

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:0d00f79134c9210e4a0df21a1fc18e52f48bff0d commit 0d00f79134c9210e4a0df21a1fc18e52f48bff0d Author: Philip Herron Date: Mon Dec 2 13:54:29 2024 + gccrs: add checks for division by zero and left shift overflow These are ported from the c-family code c-warn.cc

[gcc/devel/rust/master] gccrs: constant evaluation like these are coercion sites

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:db3d8fb22c8d10a3687742a85de85242a96ac1ba commit db3d8fb22c8d10a3687742a85de85242a96ac1ba Author: Philip Herron Date: Mon Dec 2 16:17:54 2024 + gccrs: constant evaluation like these are coercion sites The code here was wrongly assuming the decl type from t

[gcc/devel/rust/master] ast: Use StackedContexts class in ContextualASTVisitor

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5434de60b9dd446120f5f7b733b4e5a2d86993ad commit 5434de60b9dd446120f5f7b733b4e5a2d86993ad Author: Arthur Cohen Date: Tue Nov 26 16:39:04 2024 + ast: Use StackedContexts class in ContextualASTVisitor gcc/rust/ChangeLog: * ast/rust-ast-visit

[gcc/devel/rust/master] stacked-contexts: Add peek() method

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:3abf72465b1490468482133ff3e000c18e6f6091 commit 3abf72465b1490468482133ff3e000c18e6f6091 Author: Arthur Cohen Date: Tue Nov 26 16:34:37 2024 + stacked-contexts: Add peek() method gcc/rust/ChangeLog: * util/rust-stacked-contexts.h: Add new

[gcc/devel/rust/master] ci: bump actions/checkout from v3 to v4

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:c4024137a3a3ff193683ac1765ff90265e0150d9 commit c4024137a3a3ff193683ac1765ff90265e0150d9 Author: Marc Poulhiès Date: Wed Nov 27 10:58:11 2024 +0100 ci: bump actions/checkout from v3 to v4 ChangeLog: * .github/workflows/Remark.yml: Use v4.

[gcc/devel/rust/master] hir: Remove duplicate function in TraitItemFunc

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:afbd87358cc8b4627536145510b0c17634005eb6 commit afbd87358cc8b4627536145510b0c17634005eb6 Author: Arthur Cohen Date: Fri Nov 29 11:05:29 2024 +0100 hir: Remove duplicate function in TraitItemFunc Both TraitItemFunc::has_definition() and TraitItemFunc::has_bloc

[gcc/devel/rust/master] lang-items: Move comment about arithmetic lang items

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:1d5f710bfb25857a4e0a8011080513074b64334e commit 1d5f710bfb25857a4e0a8011080513074b64334e Author: Arthur Cohen Date: Mon Nov 25 12:21:05 2024 +0100 lang-items: Move comment about arithmetic lang items gcc/rust/ChangeLog: * util/rust-lang-item.

[gcc/devel/rust/master] mappings: Move lang_item definitions to .cc

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:10cc6e8e6c32025b4fd19d02ac0ec3f1029639da commit 10cc6e8e6c32025b4fd19d02ac0ec3f1029639da Author: Arthur Cohen Date: Mon Nov 25 12:37:12 2024 +0100 mappings: Move lang_item definitions to .cc gcc/rust/ChangeLog: * util/rust-hir-map.h: Move def

[gcc/devel/rust/master] gccrs: ensure packed and aligned is applied properly

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:7bdbcb7564221efc8856b7ce152fe4bd3a0f1f8c commit 7bdbcb7564221efc8856b7ce152fe4bd3a0f1f8c Author: Philip Herron Date: Tue Nov 26 18:05:25 2024 + gccrs: ensure packed and aligned is applied properly We cannot apply aligned or packed after layout_type is cal

[gcc/devel/rust/master] Use nr2.0 in PrivacyReporter

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a969fd7e38bf7fc167effccb8f15f57c59e067a2 commit a969fd7e38bf7fc167effccb8f15f57c59e067a2 Author: Owen Avery Date: Tue Nov 19 13:57:34 2024 -0500 Use nr2.0 in PrivacyReporter gcc/rust/ChangeLog: * checks/errors/privacy/rust-privacy-reporter.cc

[gcc/devel/rust/master] gccrs: improve handling of Self Type paths

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:c11ee4f56266512171fb77d6bcaf37f390e5ad30 commit c11ee4f56266512171fb77d6bcaf37f390e5ad30 Author: Philip Herron Date: Mon Nov 25 21:37:19 2024 + gccrs: improve handling of Self Type paths TypePaths have special handling for Self where we can look at the cu

[gcc/devel/rust/master] gccrs: fix crash in hir dump with missing guards

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a4abbbcffe4a30f069c3d74236d2253b89bd8aeb commit a4abbbcffe4a30f069c3d74236d2253b89bd8aeb Author: Philip Herron Date: Mon Nov 25 20:16:42 2024 + gccrs: fix crash in hir dump with missing guards gcc/rust/ChangeLog: * hir/rust-hir-dump.cc (D

[gcc/devel/rust/master] ci: change the gcc-5 testing

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:8d401933dd2201f89e9ade61a88fa7773c662c35 commit 8d401933dd2201f89e9ade61a88fa7773c662c35 Author: Marc Poulhiès Date: Wed Nov 27 11:00:32 2024 +0100 ci: change the gcc-5 testing Use a GCC 5.4.0 built from Compiler Explorer and execute everything on ubuntu

[gcc/devel/rust/master] Add build dependencies for Fedora

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f49ec2867b0a69bdda74098a55d9515778a33374 commit f49ec2867b0a69bdda74098a55d9515778a33374 Author: Jarkko Sakkinen Date: Thu Sep 5 18:05:33 2024 +0300 Add build dependencies for Fedora ChangeLog: * README.md: Add fedora deps. Signed-of

[gcc/devel/rust/master] CI: upgrade GCC baseline from 4.8 -> 5.4 (5.5)

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:898f2e83a13fde11a93a4904a71b432155e2cf12 commit 898f2e83a13fde11a93a4904a71b432155e2cf12 Author: Sam James Date: Fri Nov 22 21:21:06 2024 + CI: upgrade GCC baseline from 4.8 -> 5.4 (5.5) GCC's baseline was changed from C++11 -> C++14 and GCC 4.8 -> GCC 5.

[gcc/devel/rust/master] typecheck: Remove unused parameter in TyTyCheckCallExpr

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5edb13bb18c80cd35047c01e43c0cebf5c3f5045 commit 5edb13bb18c80cd35047c01e43c0cebf5c3f5045 Author: Arthur Cohen Date: Wed Nov 6 15:19:10 2024 +0100 typecheck: Remove unused parameter in TyTyCheckCallExpr gcc/rust/ChangeLog: * typecheck/rust-tyt

[gcc/devel/rust/master] Prepend crate name to functions with nr2

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:79e4295018dcd65d0d8d9083795c169c5802e013 commit 79e4295018dcd65d0d8d9083795c169c5802e013 Author: Pierre-Emmanuel Patry Date: Mon Nov 25 14:24:21 2024 +0100 Prepend crate name to functions with nr2 gcc/rust/ChangeLog: * backend/rust-compile-ba

[gcc/devel/rust/master] Improve handling of static items in toplevel 2.0

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:41a12471b514e45d5f94d3a58b569ae8996c2501 commit 41a12471b514e45d5f94d3a58b569ae8996c2501 Author: Owen Avery Date: Mon Nov 11 16:19:44 2024 -0500 Improve handling of static items in toplevel 2.0 gcc/rust/ChangeLog: * resolve/rust-toplevel-name

[gcc/devel/rust/master] ci: remove bors mention

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:fa547376d462f8e6ef9082e759266e04703d8c98 commit fa547376d462f8e6ef9082e759266e04703d8c98 Author: Marc Poulhiès Date: Sat Nov 23 11:59:46 2024 +0100 ci: remove bors mention We are using github merge queues for some time now, instead of bors. Remove unmaint

[gcc/devel/rust/master] gccrs: add test case to show issue is fixed

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:977a72ca06f6f90bacb70b0474f5d5122b75074e commit 977a72ca06f6f90bacb70b0474f5d5122b75074e Author: Philip Herron Date: Wed Nov 6 11:08:27 2024 + gccrs: add test case to show issue is fixed The original test case 1773 has been moved to a new issue 3242 which

[gcc/devel/rust/master] hir: Mark AttrVec::get_outer_attrs as override

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a6aa012f643510665d2cb7b641186ba9979561fa commit a6aa012f643510665d2cb7b641186ba9979561fa Author: Arthur Cohen Date: Wed Nov 6 15:15:02 2024 +0100 hir: Mark AttrVec::get_outer_attrs as override gcc/rust/ChangeLog: * hir/tree/rust-hir.h: Add ov

[gcc/devel/rust/master] gccrs: empty match expressions should resolve to !

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:433a09278263a13b8aff12fbbc61d2e8723c947a commit 433a09278263a13b8aff12fbbc61d2e8723c947a Author: Philip Herron Date: Thu Nov 21 17:36:34 2024 + gccrs: empty match expressions should resolve to ! This is a special case in Rust and the ! type can unify with

[gcc/devel/rust/master] gccrs: fix crashes in hir dump since move to references

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b3f0d72ba8d365fd0cdabbe216acbbebfabb5df4 commit b3f0d72ba8d365fd0cdabbe216acbbebfabb5df4 Author: Philip Herron Date: Thu Nov 21 17:27:31 2024 + gccrs: fix crashes in hir dump since move to references gcc/rust/ChangeLog: * hir/rust-hir-dum

[gcc/devel/rust/master] Use a reference wrapper to please GCC 4.8

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:65e5335d9c40367f6232d7f3b995b5b4a66f216e commit 65e5335d9c40367f6232d7f3b995b5b4a66f216e Author: Pierre-Emmanuel Patry Date: Wed Nov 20 13:35:22 2024 +0100 Use a reference wrapper to please GCC 4.8 gcc/rust/ChangeLog: * backend/rust-compile-e

[gcc/devel/rust/master] Use nr2.0 in typechecker

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:90454a91a0c7292939204f24369a6041364ffd9a commit 90454a91a0c7292939204f24369a6041364ffd9a Author: Owen Avery Date: Tue Nov 19 15:10:09 2024 -0500 Use nr2.0 in typechecker I probably missed a few spots, but this should cover most of the type checker.

[gcc/devel/rust/master] gccrs: fix ICE for placeholder which is not setup

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:dfbd71a9ed79a121d380f5240b5a72b3175c20a4 commit dfbd71a9ed79a121d380f5240b5a72b3175c20a4 Author: Philip Herron Date: Tue Nov 5 17:35:37 2024 + gccrs: fix ICE for placeholder which is not setup We can have a case where the placeholder is not configred and

[gcc/devel/rust/master] Add optional template arguments to please GCC4.8

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d29ab973aee29d50de1d5ae9b4ffd38028379a0d commit d29ab973aee29d50de1d5ae9b4ffd38028379a0d Author: Pierre-Emmanuel Patry Date: Wed Nov 20 01:44:28 2024 +0100 Add optional template arguments to please GCC4.8 Clang on macos as well as GCC 4.8 complains when those

[gcc/devel/rust/master] Remove usage of Resolver::get_builtin_types

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d3968ea82f6ecbb6bbad0d2d81d40529615126b3 commit d3968ea82f6ecbb6bbad0d2d81d40529615126b3 Author: Owen Avery Date: Fri Nov 1 12:58:44 2024 -0400 Remove usage of Resolver::get_builtin_types gcc/rust/ChangeLog: * backend/rust-compile-context.cc

[gcc/devel/rust/master] Add a new CI step to detect raw issue references

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:0cb51bb0c1a42d9248bb956cef85c2f2c3c846db commit 0cb51bb0c1a42d9248bb956cef85c2f2c3c846db Author: Pierre-Emmanuel Patry Date: Wed Nov 20 15:57:47 2024 +0100 Add a new CI step to detect raw issue references Issue references shall now be used with the Rust GCC p

[gcc/devel/rust/master] Handle type path segments during late resolution 2.0

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:fc59e9c3f85b17c687ce2def4dd16b48b5b6214b commit fc59e9c3f85b17c687ce2def4dd16b48b5b6214b Author: Owen Avery Date: Tue Nov 19 16:09:01 2024 -0500 Handle type path segments during late resolution 2.0 gcc/rust/ChangeLog: * resolve/rust-late-name

[gcc/devel/rust/master] gccrs: fix bad type inferencing on path's

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:4686e63c4e840417f2522fabb5611701eee92eca commit 4686e63c4e840417f2522fabb5611701eee92eca Author: Philip Herron Date: Fri Nov 1 16:18:28 2024 + gccrs: fix bad type inferencing on path's This catch to inject inference variables into generic paths was a

[gcc/devel/rust/master] Refactor optional initializers

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:690eb22f6cac7be9de759dd336b042304b27fe72 commit 690eb22f6cac7be9de759dd336b042304b27fe72 Author: Pierre-Emmanuel Patry Date: Tue Nov 19 17:24:59 2024 +0100 Refactor optional initializers Refactor some optional initializer in the lowering stage to make them

[gcc/devel/rust/master] Fix FnParam pattern location ternary logic

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:e4b68a6cd5349ad153ac30cc2ddf668498255e2e commit e4b68a6cd5349ad153ac30cc2ddf668498255e2e Author: Pierre-Emmanuel Patry Date: Wed Nov 20 01:28:04 2024 +0100 Fix FnParam pattern location ternary logic Condition was inverted, we should retrieve the locus only if

[gcc/devel/rust/master] Use name resolver 2.0 for module descendance checks

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5ceba7f95c787ee5cd99328692b9e74beca7a0a3 commit 5ceba7f95c787ee5cd99328692b9e74beca7a0a3 Author: Owen Avery Date: Sat Oct 26 20:52:31 2024 -0400 Use name resolver 2.0 for module descendance checks gcc/rust/ChangeLog: * checks/errors/privacy/r

[gcc/devel/rust/master] Use default constructor for default arguments

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a163db5bc475a5ce6877f332b870613dd390ea09 commit a163db5bc475a5ce6877f332b870613dd390ea09 Author: Pierre-Emmanuel Patry Date: Wed Nov 20 13:19:15 2024 +0100 Use default constructor for default arguments GCC 4.8 complains about the initializer list. gc

[gcc/devel/rust/master] Fix Generic type retrieval

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d424b0b467901e05bf17c2d168f1701ec81b7c08 commit d424b0b467901e05bf17c2d168f1701ec81b7c08 Author: Pierre-Emmanuel Patry Date: Fri Nov 8 12:01:15 2024 +0100 Fix Generic type retrieval gcc/rust/ChangeLog: * hir/rust-ast-lower-type.cc (ASTLowerGe

[gcc/devel/rust/master] FnParam cloning now keeps projections

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:cd37d69a6347882723f6aa1d373995ac3bcb1378 commit cd37d69a6347882723f6aa1d373995ac3bcb1378 Author: Pierre-Emmanuel Patry Date: Tue Nov 19 15:37:56 2024 +0100 FnParam cloning now keeps projections FnParam type where monomorphized during cloning. gcc/rus

[gcc/devel/rust/master] Push ribs by kind rather than by value

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:eda3bfdd8296494f32d2598d59c9276f30b84400 commit eda3bfdd8296494f32d2598d59c9276f30b84400 Author: Owen Avery Date: Mon Nov 11 16:37:38 2024 -0500 Push ribs by kind rather than by value gcc/rust/ChangeLog: * resolve/rust-forever-stack.h

[gcc/devel/rust/master] Refactor HIR with optionals, references & newtypes

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:6b5039f20e8827549e7946a280a80bb5db0b10ce commit 6b5039f20e8827549e7946a280a80bb5db0b10ce Author: Pierre-Emmanuel Patry Date: Fri Mar 8 14:42:10 2024 +0100 Refactor HIR with optionals, references & newtypes The HIR made heavy use of pair and other unamed types

[gcc/devel/rust/master] gccrs: Fix bad handling for recursive type query

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:680ad4625564f5f0ecf84a281e7b88c677421cbd commit 680ad4625564f5f0ecf84a281e7b88c677421cbd Author: Philip Herron Date: Tue Nov 12 12:16:40 2024 + gccrs: Fix bad handling for recursive type query When resolving a type like this which is generic it causes the

[gcc/devel/rust/master] asm: Fix clang warnings

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b0d6abb923915451c6a90f1b328d8efbfdf22441 commit b0d6abb923915451c6a90f1b328d8efbfdf22441 Author: Arthur Cohen Date: Wed Nov 6 15:19:55 2024 +0100 asm: Fix clang warnings Fixes a couple of warnings thrown by clang, with mismatched class/struct usages and u

[gcc/devel/rust/master] Improve handling of implicit Self parameter in AST

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:335f6c2b0918c27eecd93a114668841b74ee06c3 commit 335f6c2b0918c27eecd93a114668841b74ee06c3 Author: Owen Avery Date: Mon Nov 4 15:05:03 2024 -0500 Improve handling of implicit Self parameter in AST gcc/rust/ChangeLog: * ast/rust-item.h

[gcc/devel/rust/master] gccrs: fix typechecking of Fn trait calls using ADT types

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:e82d79c4f39b62550769525b9dec4ce446c2c96f commit e82d79c4f39b62550769525b9dec4ce446c2c96f Author: Philip Herron Date: Tue Nov 5 17:41:44 2024 + gccrs: fix typechecking of Fn trait calls using ADT types Fixes RustGcc#2953 gcc/rust/ChangeLog:

[gcc/devel/rust/master] Reorganize the CPU feature detection

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:9bcd87f48898d67d94073345f04df4b28a9d9b8e commit 9bcd87f48898d67d94073345f04df4b28a9d9b8e Author: Antoni Boucher Date: Fri Oct 11 17:05:22 2024 -0400 Reorganize the CPU feature detection Move the code from i386-rust.cc to i386-rust-and-jit.inc so that it can

[gcc/devel/rust/master] Use name resolver 2.0 in VisibilityResolver

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:76fcedad2f95ac35e2a4c8aa2a45a75e32e80a61 commit 76fcedad2f95ac35e2a4c8aa2a45a75e32e80a61 Author: Owen Avery Date: Mon Nov 4 21:52:14 2024 -0500 Use name resolver 2.0 in VisibilityResolver gcc/rust/ChangeLog: * checks/errors/privacy/rust-visib

[gcc/devel/rust/master] gccrs: fix bad type inference on local patterns

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d76edc389118ac43627e08f989e427fa6c2bb29d commit d76edc389118ac43627e08f989e427fa6c2bb29d Author: Philip Herron Date: Mon Nov 4 14:43:25 2024 + gccrs: fix bad type inference on local patterns We do not need to inject inference variables on generic patterns

[gcc/devel/rust/master] Improve handling of struct expressions in nr2.0

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:efcf4d4db0fbe7c230cd1f2d2595360c5d6acb43 commit efcf4d4db0fbe7c230cd1f2d2595360c5d6acb43 Author: Owen Avery Date: Sat Oct 26 22:19:21 2024 -0400 Improve handling of struct expressions in nr2.0 gcc/rust/ChangeLog: * resolve/rust-late-name-reso

[gcc/devel/rust/master] gccrs: add test case to show method resolution is working

2024-12-04 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:c5ae11b632a081650be2dbaa6f1a9f30233aef04 commit c5ae11b632a081650be2dbaa6f1a9f30233aef04 Author: Philip Herron Date: Fri Nov 1 14:07:54 2024 + gccrs: add test case to show method resolution is working The issue here was that the impl block for Cell define

[gcc r15-5921] gcc/configure: Properly remove -O flags from C[XX]FLAGS

2024-12-04 Thread Andreas Schwab via Gcc-cvs
https://gcc.gnu.org/g:1783b2030905567d1b89ccc5e674699619f159e5 commit r15-5921-g1783b2030905567d1b89ccc5e674699619f159e5 Author: Andreas Schwab Date: Wed Dec 4 10:59:38 2024 +0100 gcc/configure: Properly remove -O flags from C[XX]FLAGS PR bootstrap/117893 * con

[gcc(refs/vendors/ARM/heads/arm-14)] arm: make arm_predict_doloop_p reject loops with calls

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:a5fe6b043c9de2b55827852ca71eff3909ce83fd commit a5fe6b043c9de2b55827852ca71eff3909ce83fd Author: Andre Vieira Date: Wed Jun 26 11:07:01 2024 +0100 arm: make arm_predict_doloop_p reject loops with calls With the introduction of low overhead loops we defined ar

[gcc(refs/vendors/ARM/heads/arm-14)] arm: fix bootstrap issue with arm_noce_conversion_profitable_p patch [NFC]

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:4304c7b73a727d56889cae32c817f2da53ae5d08 commit 4304c7b73a727d56889cae32c817f2da53ae5d08 Author: Andre Vieira Date: Mon Oct 7 14:16:38 2024 +0100 arm: fix bootstrap issue with arm_noce_conversion_profitable_p patch [NFC] This obvious patch fixes two warnings

[gcc(refs/vendors/ARM/heads/arm-14)] doloop: Add support for predicated vectorized loops

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:4a6f28f5d5263092f97e94f12f4f012fb3a1ec57 commit 4a6f28f5d5263092f97e94f12f4f012fb3a1ec57 Author: Andre Vieira Date: Wed Jun 19 17:05:45 2024 +0100 doloop: Add support for predicated vectorized loops This patch adds support in the target agnostic doloop pass f

[gcc(refs/vendors/ARM/heads/arm-14)] arm: Improvements to arm_noce_conversion_profitable_p call [PR 116444]

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:05456c6c4c51996bfa4dc172af2d622ffb859595 commit 05456c6c4c51996bfa4dc172af2d622ffb859595 Author: Andre Simoes Dias Vieira Date: Fri Nov 8 13:34:57 2024 + arm: Improvements to arm_noce_conversion_profitable_p call [PR 116444] When not dealing with the spec

[gcc r15-5920] c++: Don't reject pointer to virtual method during constant evaluation [PR117615]

2024-12-04 Thread Simon Martin via Gcc-cvs
https://gcc.gnu.org/g:72a2380a306a1c3883cb7e4f99253522bc265af0 commit r15-5920-g72a2380a306a1c3883cb7e4f99253522bc265af0 Author: Simon Martin Date: Tue Dec 3 14:30:43 2024 +0100 c++: Don't reject pointer to virtual method during constant evaluation [PR117615] We currently reject

[gcc(refs/vendors/ARM/heads/arm-14)] arm: Add support for MVE Tail-Predicated Low Overhead Loops

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:8809e1adf21fa2169fbaad4308fb1c92125d0215 commit 8809e1adf21fa2169fbaad4308fb1c92125d0215 Author: Andre Vieira Date: Wed Jun 19 17:05:55 2024 +0100 arm: Add support for MVE Tail-Predicated Low Overhead Loops This patch adds support for MVE Tail-Predicated Low

[gcc r15-5919] c++: Fix up erroneous template error recovery ICE [PR117826]

2024-12-04 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:205591919214cb5610e9c3b2394f05a3cfaa7f68 commit r15-5919-g205591919214cb5610e9c3b2394f05a3cfaa7f68 Author: Jakub Jelinek Date: Wed Dec 4 10:54:41 2024 +0100 c++: Fix up erroneous template error recovery ICE [PR117826] The testcase in the PR (which can't be ea

[gcc(refs/vendors/ARM/heads/arm-14)] arm, mve: Fix scan-assembler for test7 in dlstp-compile-asm-2.c

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:c04d63f0027dafb46f169bdf550993619eeb9f30 commit c04d63f0027dafb46f169bdf550993619eeb9f30 Author: Andre Vieira Date: Fri Nov 29 09:59:25 2024 + arm, mve: Fix scan-assembler for test7 in dlstp-compile-asm-2.c After the changes to the vctp intrinsic codegen

[gcc(refs/vendors/ARM/heads/arm-14)] arm, mve: Adding missing Runtime Library Exception to header files

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:a05ea1e5ee0867191bb432a84c055be99dbdbc16 commit a05ea1e5ee0867191bb432a84c055be99dbdbc16 Author: Andre Vieira Date: Mon Dec 2 13:35:03 2024 + arm, mve: Adding missing Runtime Library Exception to header files Add missing Runtime Library Exception to mve h

[gcc(refs/vendors/ARM/heads/arm-14)] arm, mve: Detect uses of vctp_vpr_generated inside subregs

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:e4ccc05f2cb193cf35a82c65d834a3a263ab21e0 commit e4ccc05f2cb193cf35a82c65d834a3a263ab21e0 Author: Andre Vieira Date: Fri Nov 29 10:18:57 2024 + arm, mve: Detect uses of vctp_vpr_generated inside subregs Address a problem we were having where we were missin

[gcc(refs/vendors/ARM/heads/arm-14)] arm: Fix testism with mve/ivopts-3.c testcase

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:858f5cfb8245ed9af701a8e91a8755a93860 commit 858f5cfb8245ed9af701a8e91a8755a93860 Author: Andre Vieira Date: Fri Aug 2 16:39:34 2024 +0100 arm: Fix testism with mve/ivopts-3.c testcase This patch ensures this testcase is ran for armv8.1-m.main+mve as t

[gcc(refs/vendors/ARM/heads/arm-14)] arm: Fix missed CE optimization for armv8.1-m.main [PR 116444]

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:bba1c1817b17787f9cecca986de88cc728b03257 commit bba1c1817b17787f9cecca986de88cc728b03257 Author: Andre Vieira Date: Fri Oct 4 13:43:46 2024 +0100 arm: Fix missed CE optimization for armv8.1-m.main [PR 116444] This patch restores missed optimizations for armv8

[gcc(refs/vendors/ARM/heads/arm-14)] arm, mve: Fix arm_mve_dlstp_check_dec_counter's use of single_pred

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:925aa834e2bdc8a562601628a3d4fe16f5c6b94c commit 925aa834e2bdc8a562601628a3d4fe16f5c6b94c Author: Andre Vieira Date: Wed Nov 20 09:23:50 2024 + arm, mve: Fix arm_mve_dlstp_check_dec_counter's use of single_pred Call 'single_pred_p' before 'single_pred' to

[gcc(refs/vendors/ARM/heads/arm-14)] arm: Prevent ICE when doloop dec_set is not PLUS expr

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
https://gcc.gnu.org/g:40cd7fa72952f9af61a48c67bf9b25dd828caefa commit 40cd7fa72952f9af61a48c67bf9b25dd828caefa Author: Andre Vieira Date: Tue Jul 16 17:47:51 2024 +0100 arm: Prevent ICE when doloop dec_set is not PLUS expr This patch refactors and fixes an issue where arm_mve_dls

[gcc] Created branch 'ARM/heads/arm-14' in namespace 'refs/vendors'

2024-12-04 Thread Andre Simoes Dias Vieira via Gcc-cvs
The branch 'ARM/heads/arm-14' was created in namespace 'refs/vendors' pointing to: a05ea1e5ee08... arm, mve: Adding missing Runtime Library Exception to heade

[gcc r15-5918] tree-optimization/116083 - SLP discovery slowness

2024-12-04 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:27b444a41a6afab8020183c4c5d3361e21635031 commit r15-5918-g27b444a41a6afab8020183c4c5d3361e21635031 Author: Richard Biener Date: Tue Dec 3 14:37:21 2024 +0100 tree-optimization/116083 - SLP discovery slowness One large constant factor of SLP discovery is figur

[gcc r14-11060] [PATCH] PR modula2/117660: Errors referring to variables of type array could display full declaratio

2024-12-04 Thread Gaius Mulley via Gcc-cvs
https://gcc.gnu.org/g:5902ea4a341419d243725e7a52800e297159ff9d commit r14-11060-g5902ea4a341419d243725e7a52800e297159ff9d Author: Gaius Mulley Date: Wed Dec 4 09:03:36 2024 + [PATCH] PR modula2/117660: Errors referring to variables of type array could display full declaration

[gcc r15-5917] RISC-V: Add assert for insn operand out of range access [PR117878][NFC]

2024-12-04 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:fb64a7b0e1d7488e6e3ae96af8d97fd2226b6d21 commit r15-5917-gfb64a7b0e1d7488e6e3ae96af8d97fd2226b6d21 Author: Pan Li Date: Wed Dec 4 13:53:52 2024 +0800 RISC-V: Add assert for insn operand out of range access [PR117878][NFC] According to the the initial analysis

[gcc r14-11059] [PATCH] PR modula2/117371: Add check for zero step in for loop

2024-12-04 Thread Gaius Mulley via Gcc-cvs
https://gcc.gnu.org/g:f43c2ee451c57025065c91fbdc067128e93d2ec4 commit r14-11059-gf43c2ee451c57025065c91fbdc067128e93d2ec4 Author: Gaius Mulley Date: Wed Dec 4 08:01:13 2024 + [PATCH] PR modula2/117371: Add check for zero step in for loop This patch is a follow on from PR modul