[gcc/devel/rust/master] lang-items: Add ManuallyDrop

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:daf5dbc0272d57b772d579233268545c3a485e18 commit daf5dbc0272d57b772d579233268545c3a485e18 Author: Arthur Cohen Date: Tue Apr 8 17:04:09 2025 +0200 lang-items: Add ManuallyDrop gcc/rust/ChangeLog: * util/rust-lang-item.h: Add new manually_drop

[gcc/devel/rust/master] Disable parallel testing for 'rust/compile/nr2/compile.exp' [PR119508]

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:2753c6f3b86b9532ce2e0c580c59d0413b68e139 commit 2753c6f3b86b9532ce2e0c580c59d0413b68e139 Author: Thomas Schwinge Date: Sat Apr 19 15:49:34 2025 +0200 Disable parallel testing for 'rust/compile/nr2/compile.exp' [PR119508] ..., using the standard idiom. This '

[gcc/devel/rust/master] gccrs: Fix ICE with empty generic arguments

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:4d70c16011e809a6732a0c34f1fc23ca75851476 commit 4d70c16011e809a6732a0c34f1fc23ca75851476 Author: Philip Herron Date: Thu Apr 17 15:53:58 2025 +0100 gccrs: Fix ICE with empty generic arguments We have an assertion when accessing generic args if there are any w

[gcc/devel/rust/master] Adjust segment start position errors

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:47d55fe8cb022d11b7899f8e93761a61ee38c583 commit 47d55fe8cb022d11b7899f8e93761a61ee38c583 Author: Owen Avery Date: Thu Apr 17 16:51:21 2025 -0400 Adjust segment start position errors gcc/rust/ChangeLog: * resolve/rust-ast-resolve-path.cc

[gcc/devel/rust/master] gccrs: prealloc the initilizer vector

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:ad951b9c2696a62fddf2502e3b68352a81264f7c commit ad951b9c2696a62fddf2502e3b68352a81264f7c Author: Philip Herron Date: Thu Apr 17 16:19:35 2025 +0100 gccrs: prealloc the initilizer vector There are two cases when initilizing an array, this is the const cont

[gcc/devel/rust/master] gccrs: Add test case to show ice is fixed

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:0a34f7bb91855ac95c51219c89d4049c4d69f7b3 commit 0a34f7bb91855ac95c51219c89d4049c4d69f7b3 Author: Philip Herron Date: Fri Apr 18 11:37:55 2025 +0100 gccrs: Add test case to show ice is fixed Fixes Rust-GCC#3652 gcc/testsuite/ChangeLog:

[gcc/devel/rust/master] nr2.0: Remove unnecessary copy of Node

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f220fe8cf73f56421f2f5659054006e38c3cd2b1 commit f220fe8cf73f56421f2f5659054006e38c3cd2b1 Author: Owen Avery Date: Thu Apr 17 19:23:12 2025 -0400 nr2.0: Remove unnecessary copy of Node gcc/rust/ChangeLog: * resolve/rust-forever-stack.hxx

[gcc/devel/rust/master] nr2.0: Handle StructPatternFieldIdent

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5a2d06037c7e0b0f06543db17b8376b6a6fceeb3 commit 5a2d06037c7e0b0f06543db17b8376b6a6fceeb3 Author: Owen Avery Date: Thu Apr 17 14:02:45 2025 -0400 nr2.0: Handle StructPatternFieldIdent gcc/rust/ChangeLog: * resolve/rust-late-name-resolver-2.0.c

[gcc/devel/rust/master] gccrs: Fix ICE when handling case of unknown field in HIR::FieldAccess

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f81ec04bfde4e771998b44dd5c685069d1229652 commit f81ec04bfde4e771998b44dd5c685069d1229652 Author: Philip Herron Date: Thu Apr 17 13:50:55 2025 +0100 gccrs: Fix ICE when handling case of unknown field in HIR::FieldAccess We were wrongly adding the assertion tha

[gcc/devel/rust/master] Add execute test for black_box intrinsic

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:78fcf63b606343f6fe837b933b8fadccf0f49e87 commit 78fcf63b606343f6fe837b933b8fadccf0f49e87 Author: Pierre-Emmanuel Patry Date: Thu Apr 17 17:53:15 2025 +0200 Add execute test for black_box intrinsic gcc/testsuite/ChangeLog: * rust/execute/black

[gcc/devel/rust/master] gccrs: Add test case to show ICE is fixed

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:838b583c6600758d2a2f537c8379ff69e336a848 commit 838b583c6600758d2a2f537c8379ff69e336a848 Author: Philip Herron Date: Thu Apr 17 16:29:05 2025 +0100 gccrs: Add test case to show ICE is fixed Fixes Rust-GCC#3662 gcc/testsuite/ChangeLog:

[gcc/devel/rust/master] gccrs: Fix ICE in struct expressions

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:e77b7c22ab159f967fc2e0bca59468d0df08a023 commit e77b7c22ab159f967fc2e0bca59468d0df08a023 Author: Philip Herron Date: Thu Apr 17 14:38:04 2025 +0100 gccrs: Fix ICE in struct expressions The error handling here was done long ago when we didnt know how to do

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

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:701094f4908d9b31e9c712c04f02c443576cf903 commit 701094f4908d9b31e9c712c04f02c443576cf903 Author: Philip Herron Date: Thu Apr 17 16:04:55 2025 +0100 gccrs: Add test case to show issue is fixed This was already fixed in: bb01719f0e1 but we require fn_once lang

[gcc/devel/rust/master] Add gimple test for black box intrinsic

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d85328baf00510fce8b5d3843f731023e12944b1 commit d85328baf00510fce8b5d3843f731023e12944b1 Author: Pierre-Emmanuel Patry Date: Thu Apr 17 18:28:52 2025 +0200 Add gimple test for black box intrinsic gcc/testsuite/ChangeLog: * rust/compile/black_

[gcc/devel/rust/master] Parse and lower llvm asm node

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:3e8955884cd816e43a52a0dda31399c01d2d8761 commit 3e8955884cd816e43a52a0dda31399c01d2d8761 Author: Pierre-Emmanuel Patry Date: Tue Apr 15 11:38:29 2025 +0200 Parse and lower llvm asm node Add a new HIR LlvmInlineAsm HIR node as well as some structures to re

[gcc/devel/rust/master] Add LlvmInlineAsm node dump

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f7952fe9d3b661b42bc15de28c0037bf936a658f commit f7952fe9d3b661b42bc15de28c0037bf936a658f Author: Pierre-Emmanuel Patry Date: Thu Apr 17 14:27:11 2025 +0200 Add LlvmInlineAsm node dump gcc/rust/ChangeLog: * ast/rust-ast-collector.cc (TokenColl

[gcc/devel/rust/master] Emit error with old asm syntax in new asm blocks

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:56ccda1142cc2dc3a3e057d81d26d6a641732900 commit 56ccda1142cc2dc3a3e057d81d26d6a641732900 Author: Pierre-Emmanuel Patry Date: Wed Apr 9 17:41:24 2025 +0200 Emit error with old asm syntax in new asm blocks gcc/rust/ChangeLog: * expand/rust-macr

[gcc/devel/rust/master] gccrs: Fix crash in hir dump as labels are optional

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:95615a1ab48f1493fef21bb9f5f465f02ff527e4 commit 95615a1ab48f1493fef21bb9f5f465f02ff527e4 Author: Philip Herron Date: Wed Apr 16 17:00:28 2025 +0100 gccrs: Fix crash in hir dump as labels are optional gcc/rust/ChangeLog: * hir/rust-hir-dump.cc

[gcc/devel/rust/master] Add llvmInlineAsm node

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:435b346f47ffa467bb6cfa1717ab9f2283b18d46 commit 435b346f47ffa467bb6cfa1717ab9f2283b18d46 Author: Pierre-Emmanuel Patry Date: Thu Apr 10 13:05:15 2025 +0200 Add llvmInlineAsm node InlineAsm node does not support memory clobbers. gcc/rust/ChangeLog:

[gcc/devel/rust/master] gccrs: Add check for placeholder (infer) type in return position

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:bb01719f0e1665a777b2b475e5feaafd01aa3ac8 commit bb01719f0e1665a777b2b475e5feaafd01aa3ac8 Author: Philip Herron Date: Wed Apr 16 20:38:17 2025 +0100 gccrs: Add check for placeholder (infer) type in return position It is not allowed to have a declared inference

[gcc/devel/rust/master] gccrs: Fix ICE when checking shift's which are behind array refs

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:50a90f12af84ba2d203a0510bbeb41a383981303 commit 50a90f12af84ba2d203a0510bbeb41a383981303 Author: Philip Herron Date: Wed Apr 16 17:13:04 2025 +0100 gccrs: Fix ICE when checking shift's which are behind array refs I copied a bad form of this check from the c f

[gcc/devel/rust/master] gccrs: Update comments in repr parsing code

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a59e57efe221ef6296a8b5fcb5290733e15a3d20 commit a59e57efe221ef6296a8b5fcb5290733e15a3d20 Author: Yap Zhi Heng Date: Fri Apr 4 19:37:03 2025 +0800 gccrs: Update comments in repr parsing code gcc/rust/ChangeLog: * typecheck/rust-tyty.h: Remove

[gcc/devel/rust/master] gccrs: Implement integer representation for enums

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:654d79b98a67834fb33a51d05c452a1ff729e1d3 commit 654d79b98a67834fb33a51d05c452a1ff729e1d3 Author: Zhi Heng Date: Thu Apr 3 23:02:59 2025 +0800 gccrs: Implement integer representation for enums gcc/rust/ChangeLog: * typecheck/rust-hir-type-chec

[gcc/devel/rust/master] gccrs: Implement typecheck for zero-variant enums

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:2c109a2e8a97980b293edb7dc3609556473c7f3d commit 2c109a2e8a97980b293edb7dc3609556473c7f3d Author: Zhi Heng Date: Thu Apr 3 20:23:46 2025 +0800 gccrs: Implement typecheck for zero-variant enums gcc/rust/ChangeLog: * typecheck/rust-tyty.h: Add n

[gcc/devel/rust/master] Add `#[track_caller]` as known attribute

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:ecb649973a3b176f6a723c2f3d78c23ee121163d commit ecb649973a3b176f6a723c2f3d78c23ee121163d Author: beamandala Date: Thu Mar 20 17:34:48 2025 -0500 Add `#[track_caller]` as known attribute gcc/rust/ChangeLog: * expand/rust-macro-builtins.cc (Ma

[gcc/devel/rust/master] gccrs: Fix segv in unsafe chcker

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5ac41dce35b947f5d1f904b39958ebf6f1b538cf commit 5ac41dce35b947f5d1f904b39958ebf6f1b538cf Author: Philip Herron Date: Fri Apr 4 16:35:13 2025 +0100 gccrs: Fix segv in unsafe chcker Trait constants were missing type resolution step, this adds that as if it

[gcc/devel/rust/master] nr2.0: Only insert derive macros if they exist

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5bd41f967706556524cd1de172d03e7351402405 commit 5bd41f967706556524cd1de172d03e7351402405 Author: Arthur Cohen Date: Wed Apr 9 14:48:55 2025 +0200 nr2.0: Only insert derive macros if they exist This causes an assertion failure when compiling core with nr2.0, b

[gcc/devel/rust/master] attributes: Handle external tool annotations like rustfmt::

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:6068e7aac646703fb563785b6d93f913180970a9 commit 6068e7aac646703fb563785b6d93f913180970a9 Author: Arthur Cohen Date: Wed Apr 9 15:17:38 2025 +0200 attributes: Handle external tool annotations like rustfmt:: gcc/rust/ChangeLog: * util/rust-attr

[gcc/devel/rust/master] attributes: Add missing attributes used in `core`

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:43b413664f9a482eb9cb44d2842d613c2a0a4b69 commit 43b413664f9a482eb9cb44d2842d613c2a0a4b69 Author: Arthur Cohen Date: Fri Apr 4 14:20:04 2025 +0200 attributes: Add missing attributes used in `core` gcc/rust/ChangeLog: * util/rust-attribute-valu

[gcc/devel/rust/master] ci: Update warnings for new location in install.texi

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a283cdcf85e2f4bafe9d02ee6117bf46fcbb5a82 commit a283cdcf85e2f4bafe9d02ee6117bf46fcbb5a82 Author: Arthur Cohen Date: Mon Apr 14 10:58:25 2025 +0200 ci: Update warnings for new location in install.texi ChangeLog: * .github/glibcxx_ubuntu64b_log

[gcc/devel/rust/master] install.texi: Mention Rust requirement for building gccrs

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:8934acdd481febd8978f05bd262dabc4e68587b6 commit 8934acdd481febd8978f05bd262dabc4e68587b6 Author: Arthur Cohen Date: Tue Apr 1 13:00:56 2025 +0200 install.texi: Mention Rust requirement for building gccrs Addresses PR#117869 https://gcc.gnu.org/bugzil

[gcc/devel/rust/master] expansion: Only add fragments if the matcher succeeded

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:780ebba8a9152598e0fde0528c2fc63d9f474fcd commit 780ebba8a9152598e0fde0528c2fc63d9f474fcd Author: Arthur Cohen Date: Tue Apr 8 14:41:16 2025 +0200 expansion: Only add fragments if the matcher succeeded gcc/rust/ChangeLog: * expand/rust-macro-e

[gcc/devel/rust/master] Fix const checking of enum discriminants

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f8c661350e1591ce430c4b8e1c5fe33e32230aba commit f8c661350e1591ce430c4b8e1c5fe33e32230aba Author: Owen Avery Date: Sat Apr 5 17:20:44 2025 -0400 Fix const checking of enum discriminants gcc/rust/ChangeLog: * checks/errors/rust-const-checker.cc

[gcc/devel/rust/master] format_args: Allow extraneous commas, improve safety

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:0c6c73c5317111c5ec9cf465b3f6e37fe250a449 commit 0c6c73c5317111c5ec9cf465b3f6e37fe250a449 Author: Arthur Cohen Date: Wed Apr 9 14:42:08 2025 +0200 format_args: Allow extraneous commas, improve safety gcc/rust/ChangeLog: * expand/rust-macro-bui

[gcc/devel/rust/master] expansion: Desugar doc comments into attributes before expansion

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:486ca997e9924ad52bee8e4c4a6028fcab5f25b5 commit 486ca997e9924ad52bee8e4c4a6028fcab5f25b5 Author: Arthur Cohen Date: Tue Apr 8 16:20:18 2025 +0200 expansion: Desugar doc comments into attributes before expansion gcc/rust/ChangeLog: * expand/ru

[gcc/devel/rust/master] session: Desugar question mark operator after expansion instead.

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:688b8d8b0e24aa7e2a7f741355d696f60337f956 commit 688b8d8b0e24aa7e2a7f741355d696f60337f956 Author: Arthur Cohen Date: Fri Apr 4 14:21:00 2025 +0200 session: Desugar question mark operator after expansion instead. gcc/rust/ChangeLog: * rust-sess

[gcc/devel/rust/master] rust: Add comment inside block [PR119342]

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:7ef77dad7cdd8d4b2b558a190b03a4e39557feab commit 7ef77dad7cdd8d4b2b558a190b03a4e39557feab Author: Andrew Pinski Date: Wed Mar 19 17:30:02 2025 -0700 rust: Add comment inside block [PR119342] Inside a BLOCK node, all of the variables of the scope/block are

[gcc/devel/rust/master] ast: Add get_locus() to DelimTokenTree

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:64d4e0f1e587d167f7734acad8dbf48be1e33fa3 commit 64d4e0f1e587d167f7734acad8dbf48be1e33fa3 Author: Arthur Cohen Date: Wed Apr 9 14:44:11 2025 +0200 ast: Add get_locus() to DelimTokenTree gcc/rust/ChangeLog: * ast/rust-ast.h (DelimTokenTree::get

[gcc/devel/rust/master] ast: Support outer attributes for AST::RangeExpr

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:4d09dd4abab3b0f4b9ceeaf434001ae2b41eb7e0 commit 4d09dd4abab3b0f4b9ceeaf434001ae2b41eb7e0 Author: Arthur Cohen Date: Wed Apr 9 14:44:56 2025 +0200 ast: Support outer attributes for AST::RangeExpr gcc/rust/ChangeLog: * ast/rust-expr.h (class Ra

[gcc/devel/rust/master] nr2.0: Do not resolve modules this run if they are unloaded

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:fd6257bc2894124c328757ff08221580f6ea105b commit fd6257bc2894124c328757ff08221580f6ea105b Author: Arthur Cohen Date: Fri Apr 4 14:18:33 2025 +0200 nr2.0: Do not resolve modules this run if they are unloaded Instead, mark the visitor as dirty and wait for the n

[gcc/devel/rust/master] typecheck: Properly select methods when dealing with specialization

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b9fdd60c28472f8163f7952bee2473e1d8e6981e commit b9fdd60c28472f8163f7952bee2473e1d8e6981e Author: Arthur Cohen Date: Thu Apr 3 16:22:10 2025 +0200 typecheck: Properly select methods when dealing with specialization gcc/rust/ChangeLog: * typech

[gcc/devel/rust/master] rust: use range for inside rust-gcc.cc [PR119341]

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f20261115987df04a9e62dd9e857561fb1530c8e commit f20261115987df04a9e62dd9e857561fb1530c8e Author: Andrew Pinski Date: Wed Mar 19 17:30:01 2025 -0700 rust: use range for inside rust-gcc.cc [PR119341] There are some places inside rust-gcc.cc which are candidates

[gcc/devel/rust/master] rust: Use error_operand_p in rust-gcc.cc

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:4b64c35a8f6093eb3851f9149e2465117c392492 commit 4b64c35a8f6093eb3851f9149e2465117c392492 Author: Andrew Pinski Date: Wed Mar 19 17:30:00 2025 -0700 rust: Use error_operand_p in rust-gcc.cc Just a simple cleanupof the code to use error_operand_p instead of

[gcc/devel/rust/master] rust: Use FLOAT_TYPE_P instead of manual checking

2025-04-21 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:2a46a5a37a7364951e0578605e2f763ba0a2cde4 commit 2a46a5a37a7364951e0578605e2f763ba0a2cde4 Author: Andrew Pinski Date: Wed Mar 19 17:29:59 2025 -0700 rust: Use FLOAT_TYPE_P instead of manual checking This moves is_floating_point over to using FLOAT_TYPE_P inste

[gcc r16-61] Skip g++.dg/eh/pr119507.C on arm eabi

2025-04-21 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:6e0ffa9e8f36223700ff0cef30ba14305e8a8074 commit r16-61-g6e0ffa9e8f36223700ff0cef30ba14305e8a8074 Author: Andrew Pinski Date: Mon Apr 21 20:52:38 2025 -0700 Skip g++.dg/eh/pr119507.C on arm eabi arm eabi emits the exception table using the handlerdata directiv

[gcc r16-59] [riscv] vec_dup immediate constants in pred_broadcast expand [PR118182]

2025-04-21 Thread Alexandre Oliva via Gcc-cvs
https://gcc.gnu.org/g:14fa625bcb91028cb97f3575d2e394401bbb4a3a commit r16-59-g14fa625bcb91028cb97f3575d2e394401bbb4a3a Author: Alexandre Oliva Date: Mon Apr 21 22:48:55 2025 -0300 [riscv] vec_dup immediate constants in pred_broadcast expand [PR118182] pr118182-2.c fails on gcc-14

[gcc r16-60] [testsuite] [ppc] require ifunc for target_clones test

2025-04-21 Thread Alexandre Oliva via Gcc-cvs
https://gcc.gnu.org/g:958312c6575620a5895fc914ff3c5bf9af7547c9 commit r16-60-g958312c6575620a5895fc914ff3c5bf9af7547c9 Author: Alexandre Oliva Date: Mon Apr 21 22:48:57 2025 -0300 [testsuite] [ppc] require ifunc for target_clones test gcc.target/powerpc/power11-3.c uses target_clo

[gcc(refs/users/omachota/heads/rtl-ssa-dce)] rtl-ssa-dce: c++ version, propagate dead phis

2025-04-21 Thread Ondrej Machota via Gcc-cvs
https://gcc.gnu.org/g:65a8a2615bb6057578feb2f8760b7841ffebd787 commit 65a8a2615bb6057578feb2f8760b7841ffebd787 Author: Ondřej Machota Date: Mon Apr 21 22:47:07 2025 +0200 rtl-ssa-dce: c++ version, propagate dead phis Diff: --- gcc/dce.cc | 482

[gcc r16-57] c++: reorder constexpr checks

2025-04-21 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:9ac98b5742ebce41d7da9fda10852a0bc958f1cb commit r16-57-g9ac98b5742ebce41d7da9fda10852a0bc958f1cb Author: Jason Merrill Date: Tue Mar 11 11:16:26 2025 -0400 c++: reorder constexpr checks My proposed change to stop setting TREE_STATIC on constexpr heap pseu

[gcc r16-56] c++: new size folding [PR118775]

2025-04-21 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:e7523a40cb1787d52a638cf8a4f9eeb5212f770f commit r16-56-ge7523a40cb1787d52a638cf8a4f9eeb5212f770f Author: Jason Merrill Date: Sun Apr 20 12:31:35 2025 -0400 c++: new size folding [PR118775] r15-7893 added a workaround for a case where we weren't registering (l

[gcc r16-55] c++: static constexpr strictness [PR99456]

2025-04-21 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:e6ae0de72ef696c4016cc66c53a4aa49a1e900a6 commit r16-55-ge6ae0de72ef696c4016cc66c53a4aa49a1e900a6 Author: Jason Merrill Date: Wed Mar 5 16:42:32 2025 -0500 c++: static constexpr strictness [PR99456] r11-7740 limited constexpr rejection of conversion from point

[gcc r16-54] Fix cost of vectorized double->float conversion

2025-04-21 Thread Jan Hubicka via Gcc-cvs
https://gcc.gnu.org/g:0907a810f586b07636cc5b83dba6025eb5240655 commit r16-54-g0907a810f586b07636cc5b83dba6025eb5240655 Author: Jan Hubicka Date: Mon Apr 21 20:16:50 2025 +0200 Fix cost of vectorized double->float conversion In previous patch I miscomputed costs of cvtpd2pf instruc

[gcc r16-53] [PATCH 21/61] Testsuite: Modify the gcc.dg/memcpy-4.c test

2025-04-21 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:2d07e3687998f31dfc7a18cbf14f17096c599549 commit r16-53-g2d07e3687998f31dfc7a18cbf14f17096c599549 Author: Andrew Bennett Date: Mon Apr 21 09:56:47 2025 -0600 [PATCH 21/61] Testsuite: Modify the gcc.dg/memcpy-4.c test From: Andrew Bennett Firstly, rem

[gcc r16-52] [PATCH 08/61] Testsuite: Accept jrc for clear cache intrinsic

2025-04-21 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:7c48d3e49b5417bd26beea7eb832fa9ca5caf38e commit r16-52-g7c48d3e49b5417bd26beea7eb832fa9ca5caf38e Author: Matthew Fortune Date: Mon Apr 21 09:53:49 2025 -0600 [PATCH 08/61] Testsuite: Accept jrc for clear cache intrinsic Accept jrc for clear cache intrinsic.

[gcc r16-50] [PATCH 43/61] Disable ssa-dom-cse-2.c for MIPS lp64

2025-04-21 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:139e1949a6edf4b066d15e73c0e8c3eae1e7495d commit r16-50-g139e1949a6edf4b066d15e73c0e8c3eae1e7495d Author: Matthew Fortune Date: Mon Apr 21 09:46:44 2025 -0600 [PATCH 43/61] Disable ssa-dom-cse-2.c for MIPS lp64 The optimisation to reduce the result to constant

[gcc r16-51] [PATCH 30/61] MSA: Make MSA and microMIPS R5 unsupported

2025-04-21 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:727a43e0a66052235706379239359807230054e0 commit r16-51-g727a43e0a66052235706379239359807230054e0 Author: Matthew Fortune Date: Mon Apr 21 09:49:58 2025 -0600 [PATCH 30/61] MSA: Make MSA and microMIPS R5 unsupported There are no platforms nor simulators for MS

[gcc r16-49] except: Don't use the cached value of the gcc_except_table section for comdat functions [PR119507]

2025-04-21 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:49926c2c657dd867f7329df6e250913fd1425475 commit r16-49-g49926c2c657dd867f7329df6e250913fd1425475 Author: Andrew Pinski Date: Fri Mar 28 17:25:56 2025 -0700 except: Don't use the cached value of the gcc_except_table section for comdat functions [PR119507] Thi

[gcc r16-48] Add assert to array_slice::begin/end

2025-04-21 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:d508d24282c6a8172be2abcb2223232f452b667f commit r16-48-gd508d24282c6a8172be2abcb2223232f452b667f Author: Andrew Pinski Date: Thu Jan 9 12:53:27 2025 -0800 Add assert to array_slice::begin/end So while debugging PR 118320, I found it was useful to have an

[gcc(refs/users/mikael/heads/refactor_descriptor_v05)] Correction régressions transfer_simplify_*

2025-04-21 Thread Mikael Morin via Gcc-cvs
https://gcc.gnu.org/g:a7cdd9b8bc3e05431b7d7cbec12fc23344c28054 commit a7cdd9b8bc3e05431b7d7cbec12fc23344c28054 Author: Mikael Morin Date: Mon Apr 21 17:27:45 2025 +0200 Correction régressions transfer_simplify_* Diff: --- gcc/tree-ssa-loop-niter.cc | 7 --- gcc/tree.cc

[gcc r16-47] libgcobol: Check for struct tm tm_zone

2025-04-21 Thread Rainer Orth via Gcc-cvs
https://gcc.gnu.org/g:a619a128c992b2121a862b8470960ae751d25db6 commit r16-47-ga619a128c992b2121a862b8470960ae751d25db6 Author: Rainer Orth Date: Mon Apr 21 15:59:14 2025 +0200 libgcobol: Check for struct tm tm_zone intrinsic.cc doesn't compile on Solaris: /vol/gcc/src/hg/

[gcc(refs/users/mikael/heads/refactor_descriptor_v05)] Correction régression transfer_simplify_11

2025-04-21 Thread Mikael Morin via Gcc-cvs
https://gcc.gnu.org/g:d31f0a7e37df6d3ee164c86b0dcb27e70d66425a commit d31f0a7e37df6d3ee164c86b0dcb27e70d66425a Author: Mikael Morin Date: Sun Apr 20 22:31:01 2025 +0200 Correction régression transfer_simplify_11 Diff: --- gcc/fortran/trans-array.cc | 26 -- gcc/tr