[gcc/devel/omp/gcc-14] nvptx: Delay 'sorry, unimplemented: dynamic stack allocation not supported' from expansion time to c

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:709c2303bce51117f6135e8f1c799cab9c7408bb commit 709c2303bce51117f6135e8f1c799cab9c7408bb Author: Thomas Schwinge Date: Mon Feb 24 10:09:11 2025 +0100 nvptx: Delay 'sorry, unimplemented: dynamic stack allocation not supported' from expansion time to code generation

[gcc/devel/omp/gcc-14] nvptx: Support '-mfake-ptx-alloca'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5c438e57d7ebef246b1c61be06983d507bf23a40 commit 5c438e57d7ebef246b1c61be06983d507bf23a40 Author: Thomas Schwinge Date: Mon Feb 24 16:13:11 2025 +0100 nvptx: Support '-mfake-ptx-alloca' With '-mfake-ptx-alloca' enabled, the user-visible behavior changes only

[gcc/devel/omp/gcc-14] nvptx: '#define MAX_FIXED_MODE_SIZE 128'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:6bd78a5908c9f9e2a3801c09363f7cac6dfc190e commit 6bd78a5908c9f9e2a3801c09363f7cac6dfc190e Author: Thomas Schwinge Date: Wed Feb 26 15:39:37 2025 +0100 nvptx: '#define MAX_FIXED_MODE_SIZE 128' ... instead of 64 via 'gcc/defaults.h': MAX_FIXED_MODE_

[gcc/devel/omp/gcc-14] Add 'gcc.target/nvptx/stack_frame-1.c'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:82985d2d2e6ad2512e84054148439ea2337bb870 commit 82985d2d2e6ad2512e84054148439ea2337bb870 Author: Thomas Schwinge Date: Wed Feb 26 17:17:44 2025 +0100 Add 'gcc.target/nvptx/stack_frame-1.c' gcc/testsuite/ * gcc.target/nvptx/stack_frame-1.c:

[gcc r15-7732] GCC: Documentation of -x option

2025-02-27 Thread Jerry DeLisle via Gcc-cvs
https://gcc.gnu.org/g:cfc9f42122f41668b986126ba7e65e3dd8bf1e9e commit r15-7732-gcfc9f42122f41668b986126ba7e65e3dd8bf1e9e Author: Jerry DeLisle Date: Wed Feb 26 17:26:26 2025 -0800 GCC: Documentation of -x option This change updates information about the -x option to clarify th

[gcc r14-11347] c++: init-list opt and lvalue initializers [PR118673]

2025-02-27 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:b4f66a79e0c9b65d78aed6c982bdcff48ed098d5 commit r14-11347-gb4f66a79e0c9b65d78aed6c982bdcff48ed098d5 Author: Jason Merrill Date: Mon Jan 27 18:30:18 2025 -0500 c++: init-list opt and lvalue initializers [PR118673] When fn returns {extension}, the ArrayRef in t

[gcc r14-11349] c++: disable initializer_list transformation

2025-02-27 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:a72e782528749bf553158039783ce79fa760e3a4 commit r14-11349-ga72e782528749bf553158039783ce79fa760e3a4 Author: Jason Merrill Date: Tue Jan 28 17:39:41 2025 -0500 c++: disable initializer_list transformation PRs 118673 and 118285 are wrong-code bugs with the tran

[gcc r14-11351] testsuite: limit concepts-pr67774.C to C++20

2025-02-27 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:59b09468243d07f6ac7ab38cd0b7fedd00a47385 commit r14-11351-g59b09468243d07f6ac7ab38cd0b7fedd00a47385 Author: Jason Merrill Date: Sun Feb 16 00:17:30 2025 +0100 testsuite: limit concepts-pr67774.C to C++20 This test breaks with -std=c++23 -fconcepts-ts, but wor

[gcc r14-11348] c++: Update const_decl handling after r15-7259 [PR118673].

2025-02-27 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:19bf2732ae4ad0c37c2493e82cc500724de746a8 commit r14-11348-g19bf2732ae4ad0c37c2493e82cc500724de746a8 Author: Iain Sandoe Date: Thu Jan 30 08:19:21 2025 + c++: Update const_decl handling after r15-7259 [PR118673]. Objective-C++ uses CONST_DECLs to hold cons

[gcc r14-11346] c++: constexpr VEC_INIT_EXPR [PR118285]

2025-02-27 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:3003d404b436c2dbd5a3a282c25b797d887237d9 commit r14-11346-g3003d404b436c2dbd5a3a282c25b797d887237d9 Author: Jason Merrill Date: Tue Jan 28 13:11:50 2025 -0500 c++: constexpr VEC_INIT_EXPR [PR118285] cxx_eval_vec_init_1 was doing the wrong thing for an array o

[gcc r15-7745] x86: Move TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P to i386.cc

2025-02-27 Thread H.J. Lu via Gcc-cvs
https://gcc.gnu.org/g:075611b646e5554ae02b2622061ea1614bf16ead commit r15-7745-g075611b646e5554ae02b2622061ea1614bf16ead Author: H.J. Lu Date: Wed Feb 26 05:57:13 2025 +0800 x86: Move TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P to i386.cc Move the TARGET_SMALL_REGISTER_CLASSES_FOR_MO

[gcc r15-7746] MAINTAINERS: add myself to write after approval and DCO

2025-02-27 Thread Giuseppe D'Angelo via Gcc-cvs
https://gcc.gnu.org/g:a3f77f2528b9383c70f0361e0f3863cee58e9648 commit r15-7746-ga3f77f2528b9383c70f0361e0f3863cee58e9648 Author: Giuseppe D'Angelo Date: Fri Feb 28 08:37:25 2025 +0100 MAINTAINERS: add myself to write after approval and DCO ChangeLog: * MAINTAINERS

[gcc/devel/omp/gcc-14] nvptx: Add test cases for dead/unused 'alloca'/VLA

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:64cc4d283c6d4304d2bac61ffda545c96ba45503 commit 64cc4d283c6d4304d2bac61ffda545c96ba45503 Author: Thomas Schwinge Date: Mon Feb 24 22:03:47 2025 +0100 nvptx: Add test cases for dead/unused 'alloca'/VLA gcc/testsuite/ * gcc.target/nvptx/allo

[gcc r15-7739] input: Fix up ICEs with --param=file-cache-files=N for N > 16 [PR118860]

2025-02-27 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:518def14ef1a8e6e307079f205ff98ad619ccd7b commit r15-7739-g518def14ef1a8e6e307079f205ff98ad619ccd7b Author: Jakub Jelinek Date: Thu Feb 27 22:10:46 2025 +0100 input: Fix up ICEs with --param=file-cache-files=N for N > 16 [PR118860] The following testcase ICEs,

[gcc r15-7730] [PR118940][LRA]: Add a test

2025-02-27 Thread Vladimir Makarov via Gcc-cvs
https://gcc.gnu.org/g:3071eb2848a2e748cfd67e8c897890ce06c69d06 commit r15-7730-g3071eb2848a2e748cfd67e8c897890ce06c69d06 Author: Vladimir N. Makarov Date: Thu Feb 27 13:39:04 2025 -0500 [PR118940][LRA]: Add a test PR115458 also solves given PR. So the patch adds only a test c

[gcc r15-7734] nvptx: Delay 'sorry, unimplemented: dynamic stack allocation not supported' from expansion time to c

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:22e76700aea63eb8c298403bb2e717a6a4fc9c1e commit r15-7734-g22e76700aea63eb8c298403bb2e717a6a4fc9c1e Author: Thomas Schwinge Date: Mon Feb 24 10:09:11 2025 +0100 nvptx: Delay 'sorry, unimplemented: dynamic stack allocation not supported' from expansion time to code gen

[gcc r15-7743] RISC-V: Fix bug for expand_const_vector interleave [PR118931]

2025-02-27 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:e7287cbbb208b676991096dd9081ff8a61c49781 commit r15-7743-ge7287cbbb208b676991096dd9081ff8a61c49781 Author: Pan Li Date: Sat Feb 22 19:34:52 2025 +0800 RISC-V: Fix bug for expand_const_vector interleave [PR118931] This patch would like to fix one bug when expa

[gcc r15-7736] nvptx: Build libgfortran with '-mfake-ptx-alloca' [PR107635]

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:bac2d8a246892334e24dfa7d62be0cd0648c5606 commit r15-7736-gbac2d8a246892334e24dfa7d62be0cd0648c5606 Author: Thomas Schwinge Date: Tue Feb 25 22:31:25 2025 +0100 nvptx: Build libgfortran with '-mfake-ptx-alloca' [PR107635] As of recent commit 8bf0ee8d62b8a08e80

[gcc r15-7735] nvptx: Support '-mfake-ptx-alloca'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:1146410c0feb0e82c689b1333fdf530a2b34dc2b commit r15-7735-g1146410c0feb0e82c689b1333fdf530a2b34dc2b Author: Thomas Schwinge Date: Mon Feb 24 16:13:11 2025 +0100 nvptx: Support '-mfake-ptx-alloca' With '-mfake-ptx-alloca' enabled, the user-visible behavior chan

[gcc r15-7733] nvptx: Add test cases for dead/unused 'alloca'/VLA

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5c9ef3bdab0c4377c8ba90c234ce891b80ae6338 commit r15-7733-g5c9ef3bdab0c4377c8ba90c234ce891b80ae6338 Author: Thomas Schwinge Date: Mon Feb 24 22:03:47 2025 +0100 nvptx: Add test cases for dead/unused 'alloca'/VLA gcc/testsuite/ * gcc.target/

[gcc r15-7738] nvptx: '#define MAX_FIXED_MODE_SIZE 128'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:e333ad4ed82cdfb1b660e9666895641ef3ffaddb commit r15-7738-ge333ad4ed82cdfb1b660e9666895641ef3ffaddb Author: Thomas Schwinge Date: Wed Feb 26 15:39:37 2025 +0100 nvptx: '#define MAX_FIXED_MODE_SIZE 128' ... instead of 64 via 'gcc/defaults.h': MAX_F

[gcc r15-7737] Add 'gcc.target/nvptx/stack_frame-1.c'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:39e1ec22dbaad6cf8e3dc16fd4a576d03215201e commit r15-7737-g39e1ec22dbaad6cf8e3dc16fd4a576d03215201e Author: Thomas Schwinge Date: Wed Feb 26 17:17:44 2025 +0100 Add 'gcc.target/nvptx/stack_frame-1.c' gcc/testsuite/ * gcc.target/nvptx/stack_

[gcc r15-7731] c++: ICE with GOTO_EXPR [PR118928]

2025-02-27 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:9792126ac769f2962c0f305991818c64f9e51221 commit r15-7731-g9792126ac769f2962c0f305991818c64f9e51221 Author: Marek Polacek Date: Wed Feb 19 14:06:33 2025 -0500 c++: ICE with GOTO_EXPR [PR118928] In this PR we crash in cxx_eval_constant_expression/GOTO_EXPR on:

[gcc r14-11350] c++: NRVO, constexpr, lambda [PR118053]

2025-02-27 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:7e7a1b612654479e821214f7ef7658de8a132714 commit r14-11350-g7e7a1b612654479e821214f7ef7658de8a132714 Author: Jason Merrill Date: Sat Feb 15 10:48:17 2025 +0100 c++: NRVO, constexpr, lambda [PR118053] Here during constant evaluation we encounter a VAR_DECL with

[gcc r15-7729] [PR116336][LRA]: Add a test

2025-02-27 Thread Vladimir Makarov via Gcc-cvs
https://gcc.gnu.org/g:e59dd301aea9c8d5a5d04e808c87d591a26e85bb commit r15-7729-ge59dd301aea9c8d5a5d04e808c87d591a26e85bb Author: Vladimir N. Makarov Date: Thu Feb 27 13:05:44 2025 -0500 [PR116336][LRA]: Add a test Patch for PR116234 solves given PR116366. So the patch adds only

[gcc r15-7741] libstdc++: Fix outdated comment in

2025-02-27 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:e8302282cdb53ae1d347c12d7a50c4209fbab4f7 commit r15-7741-ge8302282cdb53ae1d347c12d7a50c4209fbab4f7 Author: Jonathan Wakely Date: Thu Feb 27 21:58:09 2025 + libstdc++: Fix outdated comment in My r15-998-g2a83084ce55363 change replaced the use of nothrow

[gcc r15-7742] libphobos: Run unittest tests with dg-runtest.

2025-02-27 Thread Iain Buclaw via Gcc-cvs
https://gcc.gnu.org/g:955de3733a9ef301e2d95009cd59a1eb4ee5273c commit r15-7742-g955de3733a9ef301e2d95009cd59a1eb4ee5273c Author: Iain Buclaw Date: Thu Feb 27 23:37:21 2025 +0100 libphobos: Run unittest tests with dg-runtest. Use `dg-runtest' test driver rather than `dg-test' to ru

[gcc r15-7740] gimple-fold: Fix a pasto in fold_truth_andor_for_ifcombine [PR119030]

2025-02-27 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:8371e7f240c1130a3827be1afb94f73c26df81a6 commit r15-7740-g8371e7f240c1130a3827be1afb94f73c26df81a6 Author: Jakub Jelinek Date: Thu Feb 27 22:11:51 2025 +0100 gimple-fold: Fix a pasto in fold_truth_andor_for_ifcombine [PR119030] The following testcase is misco

[gcc r15-7726] Fortran: Fix ICE on associate of pointer [PR118789]

2025-02-27 Thread Andre Vehreschild via Gcc-cvs
https://gcc.gnu.org/g:0fc1abcc46ecc34e8d2d7ec7167656ede2cd5690 commit r15-7726-g0fc1abcc46ecc34e8d2d7ec7167656ede2cd5690 Author: Andre Vehreschild Date: Tue Feb 25 17:15:47 2025 +0100 Fortran: Fix ICE on associate of pointer [PR118789] Fix ICE when associating a pointer to void (c

[gcc/devel/omp/gcc-14] Refactor duplicated code into 'gcc/testsuite/lib/gcc-dg.exp:find-dg-do-what'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:2bc0b96cc1c36fe8f99402fe91f80bfeac02ff71 commit 2bc0b96cc1c36fe8f99402fe91f80bfeac02ff71 Author: Thomas Schwinge Date: Fri Feb 21 19:42:28 2025 +0100 Refactor duplicated code into 'gcc/testsuite/lib/gcc-dg.exp:find-dg-do-what' No change in behavior intended.

[gcc/devel/omp/gcc-14] Merge commit 'f2ab2de88082d8c52bded3725aa78610085e072c'; commit 'a01aafa5002c57e5897d006a6bba72c5b31

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:0a8d393eafd0c8b04a96ca2b631f48353fa7154c commit 0a8d393eafd0c8b04a96ca2b631f48353fa7154c Merge: 947fe06c30a1 f2ab2de88082 a01aafa5002c Author: Thomas Schwinge Date: Thu Feb 27 11:13:15 2025 +0100 Merge commit 'f2ab2de88082d8c52bded3725aa78610085e072c'; commit 'a01aaf

[gcc/devel/omp/gcc-14] BPF, nvptx: Standardize on 'sorry, unimplemented: dynamic stack allocation not supported'

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:145de77274fb23a70d0cf400eb0b3ff4e41c5fd9 commit 145de77274fb23a70d0cf400eb0b3ff4e41c5fd9 Author: Thomas Schwinge Date: Fri Feb 21 11:21:08 2025 +0100 BPF, nvptx: Standardize on 'sorry, unimplemented: dynamic stack allocation not supported' ... instead of BPF

[gcc/devel/omp/gcc-14] Gracefully handle the case that 'gcc/testsuite/lib/gcc-dg.exp:find-dg-do-what' has not been called (

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:eb9cbd22f917aaa522bdb1d825ad6119e0ab196d commit eb9cbd22f917aaa522bdb1d825ad6119e0ab196d Author: Thomas Schwinge Date: Fri Feb 21 21:54:59 2025 +0100 Gracefully handle the case that 'gcc/testsuite/lib/gcc-dg.exp:find-dg-do-what' has not been called (indirectly) from

[gcc/devel/omp/gcc-14] OpenMP/Fortran: extend 'adjust_args' clause, fixes for it and declare variant [PR115271]: avoid 'err

2025-02-27 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f2ab2de88082d8c52bded3725aa78610085e072c commit f2ab2de88082d8c52bded3725aa78610085e072c Author: Thomas Schwinge Date: Sun Feb 23 10:34:39 2025 +0100 OpenMP/Fortran: extend 'adjust_args' clause, fixes for it and declare variant [PR115271]: avoid 'error: variable ‘sav

[gcc r15-7727] testsuite: arm: Avoid incremental link warnings in pr61123-enum-size

2025-02-27 Thread Richard Earnshaw via Gcc-cvs
https://gcc.gnu.org/g:767a7a06915651da173b6751959a47487351ed3a commit r15-7727-g767a7a06915651da173b6751959a47487351ed3a Author: Richard Earnshaw Date: Thu Feb 27 15:11:47 2025 + testsuite: arm: Avoid incremental link warnings in pr61123-enum-size This test uses incremental li

[gcc r15-7728] c++: too many errors with sneaky template [PR118516]

2025-02-27 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:3605e057040ead00c072c20bfbb8f26636f8295e commit r15-7728-g3605e057040ead00c072c20bfbb8f26636f8295e Author: Marek Polacek Date: Thu Feb 20 14:35:25 2025 -0500 c++: too many errors with sneaky template [PR118516] Since C++20 P0846, a name followed by a < can be

[gcc r15-7723] Makefile: Link in {simple, lazy}-diagnostic-path.o [PR116143]

2025-02-27 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:fb684f1654bdc831e17a5e538bdfee63ec0a5e4b commit r15-7723-gfb684f1654bdc831e17a5e538bdfee63ec0a5e4b Author: Jakub Jelinek Date: Thu Feb 27 08:50:47 2025 +0100 Makefile: Link in {simple,lazy}-diagnostic-path.o [PR116143] Some of the plugin.exp tests FAIL in --e

[gcc r15-7725] i386: Treat Granite Rapids/Granite Rapids-D/Diamond Rapids similar as Sapphire Rapids in x86-tune.de

2025-02-27 Thread Haochen Jiang via Gcc-cvs
https://gcc.gnu.org/g:44c4a72061e86259d3defd3d1c7911f453043e3c commit r15-7725-g44c4a72061e86259d3defd3d1c7911f453043e3c Author: Haochen Jiang Date: Wed Feb 26 11:28:45 2025 +0800 i386: Treat Granite Rapids/Granite Rapids-D/Diamond Rapids similar as Sapphire Rapids in x86-tune.def

[gcc r14-11345] i386: Treat Granite Rapids/Granite Rapids-D similar as Sapphire Rapids in x86-tune.def

2025-02-27 Thread Haochen Jiang via Gcc-cvs
https://gcc.gnu.org/g:ba488a332ad171eff17c1f135c111c5730f4ce25 commit r14-11345-gba488a332ad171eff17c1f135c111c5730f4ce25 Author: Haochen Jiang Date: Wed Feb 26 11:28:45 2025 +0800 i386: Treat Granite Rapids/Granite Rapids-D similar as Sapphire Rapids in x86-tune.def Since GNR, G

[gcc r13-9401] i386: Treat Granite Rapids/Granite Rapids-D similar as Sapphire Rapids in x86-tune.def

2025-02-27 Thread Haochen Jiang via Gcc-cvs
https://gcc.gnu.org/g:bc3fd553305933e5dd504790781aace3b0d0bf6f commit r13-9401-gbc3fd553305933e5dd504790781aace3b0d0bf6f Author: Haochen Jiang Date: Wed Feb 26 11:28:45 2025 +0800 i386: Treat Granite Rapids/Granite Rapids-D similar as Sapphire Rapids in x86-tune.def Since GNR, GN