[gcc r14-9339] c++: ICE with noexcept and local specialization [PR114114]

2024-03-06 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:dc6c3bfb59baab28b998e18396c06087b6d9b0ed commit r14-9339-gdc6c3bfb59baab28b998e18396c06087b6d9b0ed Author: Marek Polacek Date: Tue Mar 5 13:33:10 2024 -0500 c++: ICE with noexcept and local specialization [PR114114] Here we ICE because we call register_local_

[gcc r14-9364] c++: ICE with variable template and [[deprecated]] [PR110031]

2024-03-07 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:9f915684624413f96e1a5ffada398ccd1c533e38 commit r14-9364-g9f915684624413f96e1a5ffada398ccd1c533e38 Author: Marek Polacek Date: Mon Mar 4 12:35:18 2024 -0500 c++: ICE with variable template and [[deprecated]] [PR110031] lookup_and_finish_template_variable alre

[gcc r15-301] c++: DECL_DECOMPOSITION_P cleanup

2024-05-07 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:7887d808876c00e682e11c19caae1a0dbc9fa3a8 commit r15-301-g7887d808876c00e682e11c19caae1a0dbc9fa3a8 Author: Marek Polacek Date: Fri Mar 1 13:36:51 2024 -0500 c++: DECL_DECOMPOSITION_P cleanup DECL_DECOMPOSITION_P already checks VAR_P but we repeat the check

[gcc r15-329] c++: #pragma doesn't disable -Wunused-label [PR113582]

2024-05-08 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d9318caed3bbff8136d13e00dcfc020a59d10f78 commit r15-329-gd9318caed3bbff8136d13e00dcfc020a59d10f78 Author: Marek Polacek Date: Wed Jan 24 18:06:48 2024 -0500 c++: #pragma doesn't disable -Wunused-label [PR113582] The PR complains that void do_someth

[gcc r15-348] c++: lambda capturing structured bindings [PR85889]

2024-05-09 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:46bafd9a6b9b776142e0b1424a6ac02e3a2fd300 commit r15-348-g46bafd9a6b9b776142e0b1424a6ac02e3a2fd300 Author: Marek Polacek Date: Fri Mar 1 17:13:02 2024 -0500 c++: lambda capturing structured bindings [PR85889] clarifies that it's OK

[gcc r15-351] c++: failure to suppress -Wsizeof-array-div in template [PR114983]

2024-05-09 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:646db3d30bd071a1b671b4f91c9ea2ab7f2be21c commit r15-351-g646db3d30bd071a1b671b4f91c9ea2ab7f2be21c Author: Marek Polacek Date: Wed May 8 17:02:49 2024 -0400 c++: failure to suppress -Wsizeof-array-div in template [PR114983] -Wsizeof-array-div offers a way to s

[gcc r15-515] c++: add test for DR 2855

2024-05-15 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:3cefe91b74f65f0db71472e01ca83c69e2cd81cc commit r15-515-g3cefe91b74f65f0db71472e01ca83c69e2cd81cc Author: Marek Polacek Date: Tue May 14 13:48:30 2024 -0400 c++: add test for DR 2855 Let int8_t x = 127; This DR says that while x

[gcc r15-522] c++: DR 569, DR 1693: fun with semicolons [PR113760]

2024-05-15 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:0b3eac4b54a52bf206b88743d1e987badc97cff4 commit r15-522-g0b3eac4b54a52bf206b88743d1e987badc97cff4 Author: Marek Polacek Date: Mon Feb 12 19:36:16 2024 -0500 c++: DR 569, DR 1693: fun with semicolons [PR113760] Prompted by c++/113760, I started looking into a

[gcc r15-523] c++: ICE with reference NSDMI [PR114854]

2024-05-15 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:1a05332bbac98a4c002bef3fb45a3ad9d56b3a71 commit r15-523-g1a05332bbac98a4c002bef3fb45a3ad9d56b3a71 Author: Marek Polacek Date: Wed May 8 15:43:58 2024 -0400 c++: ICE with reference NSDMI [PR114854] Here we crash on a cp_gimplify_expr/TARGET_EXPR assert:

[gcc r15-3026] c++: fix ICE in convert_nontype_argument [PR116384]

2024-08-19 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:8191f15022b0ea44fcb549449b0458d07ae02e0a commit r15-3026-g8191f15022b0ea44fcb549449b0458d07ae02e0a Author: Marek Polacek Date: Thu Aug 15 11:53:10 2024 -0400 c++: fix ICE in convert_nontype_argument [PR116384] Here we ICE since r14-8291 in C++11/C++14 modes.

[gcc r15-3027] c++: ICE with enum and conversion fn in template [PR115657]

2024-08-19 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:53283c3231a7b94e728619cccbf21170fb36b2a8 commit r15-3027-g53283c3231a7b94e728619cccbf21170fb36b2a8 Author: Marek Polacek Date: Thu Aug 15 18:47:29 2024 -0400 c++: ICE with enum and conversion fn in template [PR115657] Here we initialize an enumerator with a c

[gcc r14-10603] c++: fix ICE in convert_nontype_argument [PR116384]

2024-08-19 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:52da8588fd06198edcda81d7acf83ec92ccb63ef commit r14-10603-g52da8588fd06198edcda81d7acf83ec92ccb63ef Author: Marek Polacek Date: Thu Aug 15 11:53:10 2024 -0400 c++: fix ICE in convert_nontype_argument [PR116384] Here we ICE since r14-8291 in C++11/C++14 modes.

[gcc r15-3262] c++: ICE with ()-init and TARGET_EXPR eliding [PR116424]

2024-08-28 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:15f857af2943a4aa282d04ff71f860352ad3291b commit r15-3262-g15f857af2943a4aa282d04ff71f860352ad3291b Author: Marek Polacek Date: Tue Aug 27 18:25:17 2024 -0400 c++: ICE with ()-init and TARGET_EXPR eliding [PR116424] Here we crash on a cp_gimplify_expr/TARGET_E

[gcc r15-3274] c++: wrong error due to std::initializer_list opt [PR116476]

2024-08-28 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:9f79c7ddff5f1b004803931406ad17eaba095fff commit r15-3274-g9f79c7ddff5f1b004803931406ad17eaba095fff Author: Marek Polacek Date: Wed Aug 28 15:45:49 2024 -0400 c++: wrong error due to std::initializer_list opt [PR116476] Here maybe_init_list_as_array gets eltty

[gcc r15-3325] c++: add fixed test [PR115616]

2024-08-30 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:ffd56dcc11e32033a1f3a964af584dc32321a125 commit r15-3325-gffd56dcc11e32033a1f3a964af584dc32321a125 Author: Marek Polacek Date: Fri Aug 30 16:34:11 2024 -0400 c++: add fixed test [PR115616] This got fixed by r15-2120. PR c++/115616 gc

[gcc r15-3326] c++: add fixed test [PR101099]

2024-08-30 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:b1765a5737f011bfd992c6ab78018d6e9042f074 commit r15-3326-gb1765a5737f011bfd992c6ab78018d6e9042f074 Author: Marek Polacek Date: Fri Aug 30 17:09:19 2024 -0400 c++: add fixed test [PR101099] -fconcepts-ts is no longer supported so this can't be made to ICE

[gcc r15-3428] c++: add fixed test [PR109095]

2024-09-03 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:5f3a6e26aab16a792176b33fbee1456a91aaebf2 commit r15-3428-g5f3a6e26aab16a792176b33fbee1456a91aaebf2 Author: Marek Polacek Date: Tue Sep 3 13:32:35 2024 -0400 c++: add fixed test [PR109095] Fixed by r13-6693. PR c++/109095 gcc/testsuit

[gcc r15-3455] c++: noexcept and pointer to member function type [PR113108]

2024-09-04 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c755c7a32590e2eef5a8b062b9756c1513910246 commit r15-3455-gc755c7a32590e2eef5a8b062b9756c1513910246 Author: Marek Polacek Date: Tue Sep 3 13:04:09 2024 -0400 c++: noexcept and pointer to member function type [PR113108] We ICE in nothrow_spec_p because it got a

[gcc r15-3456] c++: cleanup coerce_template_template_parm

2024-09-04 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:dedf453477aa966493541a484b2d4ee5a17e5b61 commit r15-3456-gdedf453477aa966493541a484b2d4ee5a17e5b61 Author: Marek Polacek Date: Wed Sep 4 13:43:52 2024 -0400 c++: cleanup coerce_template_template_parm This function could use some sprucing up. gcc/cp/C

[gcc r15-3489] c++: fn redecl in fn scope wrongly accepted [PR116239]

2024-09-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d44cae2d9310660e3e47f15202e86e4f73f15b37 commit r15-3489-gd44cae2d9310660e3e47f15202e86e4f73f15b37 Author: Marek Polacek Date: Fri Aug 30 14:12:22 2024 -0400 c++: fn redecl in fn scope wrongly accepted [PR116239] Redeclaration such as void f(void);

[gcc r15-3490] doc: remove stray character

2024-09-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c880fca6cdb16c5efe3a12ee7ecdb2435f5e7105 commit r15-3490-gc880fca6cdb16c5efe3a12ee7ecdb2435f5e7105 Author: Marek Polacek Date: Thu Sep 5 13:17:06 2024 -0400 doc: remove stray character There's an extra '+'. gcc/ChangeLog: * doc/invok

[gcc r15-3493] c++: vtable referring to "unavailable" virtual fn [PR116606]

2024-09-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d9d34f9a91371dea4bab0b54b2d7f762a6cc23e0 commit r15-3493-gd9d34f9a91371dea4bab0b54b2d7f762a6cc23e0 Author: Marek Polacek Date: Thu Sep 5 13:01:59 2024 -0400 c++: vtable referring to "unavailable" virtual fn [PR116606] mark_vtable_entries already has

[gcc r14-10648] c++: vtable referring to "unavailable" virtual fn [PR116606]

2024-09-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:fe668633f6b5819ba04d80f13343ee7f5bba1c5b commit r14-10648-gfe668633f6b5819ba04d80f13343ee7f5bba1c5b Author: Marek Polacek Date: Thu Sep 5 13:01:59 2024 -0400 c++: vtable referring to "unavailable" virtual fn [PR116606] mark_vtable_entries already has

[gcc r15-3572] c++: mutable temps in rodata [PR116369]

2024-09-10 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:2801a49d1144bce5568b527d1972952ad3420f66 commit r15-3572-g2801a49d1144bce5568b527d1972952ad3420f66 Author: Marek Polacek Date: Thu Aug 29 15:13:03 2024 -0400 c++: mutable temps in rodata [PR116369] Here we wrongly mark the reference temporary for g TREE_READO

[gcc r15-3603] c++: ICE with TTP [PR96097]

2024-09-12 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:25ac2bb57ae400621050a7e0845994336ca83b99 commit r15-3603-g25ac2bb57ae400621050a7e0845994336ca83b99 Author: Marek Polacek Date: Tue Sep 3 17:01:48 2024 -0400 c++: ICE with TTP [PR96097] We crash when dependent_type_p gets a TEMPLATE_TYPE_PARM outside a tem

[gcc r14-10668] c++: ICE with TTP [PR96097]

2024-09-12 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:4088319e7ce98f813988a36f98a18ee30ff7f1d8 commit r14-10668-g4088319e7ce98f813988a36f98a18ee30ff7f1d8 Author: Marek Polacek Date: Tue Sep 3 17:01:48 2024 -0400 c++: ICE with TTP [PR96097] We crash when dependent_type_p gets a TEMPLATE_TYPE_PARM outside a te

[gcc r15-1620] c++: ICE with __dynamic_cast redecl [PR115501]

2024-06-25 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:71f484d02b2b3e8616cd7af27a0d4c72e4c7e977 commit r15-1620-g71f484d02b2b3e8616cd7af27a0d4c72e4c7e977 Author: Marek Polacek Date: Tue Jun 18 10:50:49 2024 -0400 c++: ICE with __dynamic_cast redecl [PR115501] Since r13-3299, build_dynamic_cast_1 calls pushdecl wh

[gcc r15-1621] c++: ICE with generic lambda and pack expansion [PR115425]

2024-06-25 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:ed6ffc4e62f716d1b31d599d22594dd969da137f commit r15-1621-ged6ffc4e62f716d1b31d599d22594dd969da137f Author: Marek Polacek Date: Fri Jun 14 17:50:29 2024 -0400 c++: ICE with generic lambda and pack expansion [PR115425] In r13-272 we hardened the *_PACK_EXPANSIO

[gcc r15-1625] c++: ICE with __has_unique_object_representations [PR115476]

2024-06-25 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:fc382a373e6824bb998007d1dcb0805b0cf4b8e8 commit r15-1625-gfc382a373e6824bb998007d1dcb0805b0cf4b8e8 Author: Marek Polacek Date: Mon Jun 17 17:53:12 2024 -0400 c++: ICE with __has_unique_object_representations [PR115476] Here we started to ICE with r13-25: in c

[gcc r15-1758] c++: DR2627, Bit-fields and narrowing conversions [PR94058]

2024-07-01 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:52d71b6b1f0f465a6cf064f61b22fc99453ec132 commit r15-1758-g52d71b6b1f0f465a6cf064f61b22fc99453ec132 Author: Marek Polacek Date: Fri Jun 28 17:51:19 2024 -0400 c++: DR2627, Bit-fields and narrowing conversions [PR94058] This DR (https://cplusplus.github.io/CWG/

[gcc r15-1759] c++: unresolved overload with comma op [PR115430]

2024-07-01 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c847dcf94499da62e5a28921b404e6e561645d99 commit r15-1759-gc847dcf94499da62e5a28921b404e6e561645d99 Author: Marek Polacek Date: Tue Jun 25 17:42:01 2024 -0400 c++: unresolved overload with comma op [PR115430] This works: template int Func(T);

[gcc r15-1760] testsuite: fix spaceship-narrowing1.C

2024-07-01 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:cb39f7df8d1c16cc2763952a9cc0c828ba88b4d7 commit r15-1760-gcb39f7df8d1c16cc2763952a9cc0c828ba88b4d7 Author: Marek Polacek Date: Mon Jul 1 18:12:31 2024 -0400 testsuite: fix spaceship-narrowing1.C I made sure that Wnarrowing22.C works fine on ILP32, but apparen

[gcc r15-1761] c++: ICE with computed gotos [PR115469]

2024-07-01 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c90e785bb6fde02cc009f296332a1469fcc1261a commit r15-1761-gc90e785bb6fde02cc009f296332a1469fcc1261a Author: Marek Polacek Date: Wed Jun 26 17:55:21 2024 -0400 c++: ICE with computed gotos [PR115469] This is a low-prio crash on invalid code where we ICE on a VA

[gcc r15-1946] c++: array new with value-initialization [PR115645]

2024-07-10 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:fde96e8205f343e6471a11cc9def967bb5dd5362 commit r15-1946-gfde96e8205f343e6471a11cc9def967bb5dd5362 Author: Marek Polacek Date: Tue Jul 2 15:22:39 2024 -0400 c++: array new with value-initialization [PR115645] This extends the r11-5179 fix which doesn't work w

[gcc r15-1951] c: ICE on invalid with attribute optimize [PR115549]

2024-07-10 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:4c7009735f73f59c9a635d79c048c8981310e331 commit r15-1951-g4c7009735f73f59c9a635d79c048c8981310e331 Author: Marek Polacek Date: Thu Jun 27 16:39:29 2024 -0400 c: ICE on invalid with attribute optimize [PR115549] I had this PR in my open tabs so why not go ahea

[gcc r15-1952] c: ICE with invalid sizeof [PR115642]

2024-07-10 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:0c27eade4754c13a54e265e4305182c95be1e441 commit r15-1952-g0c27eade4754c13a54e265e4305182c95be1e441 Author: Marek Polacek Date: Tue Jun 25 14:55:08 2024 -0400 c: ICE with invalid sizeof [PR115642] Here we ICE in c_expr_sizeof_expr on an erroneous expr.value.

[gcc r15-2010] doc: remove @opindex for fconcepts-ts

2024-07-12 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:b3d4a021eff6353a099f800857d3080a7cd27003 commit r15-2010-gb3d4a021eff6353a099f800857d3080a7cd27003 Author: Marek Polacek Date: Fri Jul 12 14:40:59 2024 -0400 doc: remove @opindex for fconcepts-ts We're getting complaints from the CI system about this removed

[gcc r15-2108] c++: wrong error initializing empty class [PR115900]

2024-07-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d890b04197fb0ddba4fbfb32f88e266fa27e02f3 commit r15-2108-gd890b04197fb0ddba4fbfb32f88e266fa27e02f3 Author: Marek Polacek Date: Wed Jul 17 11:19:32 2024 -0400 c++: wrong error initializing empty class [PR115900] In r14-409, we started handling empty bases firs

[gcc r15-2141] eh: ICE with std::initializer_list and ASan [PR115865]

2024-07-18 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:1e60a6abfece40c7bf55d6ca0a439078d3f5159a commit r15-2141-g1e60a6abfece40c7bf55d6ca0a439078d3f5159a Author: Marek Polacek Date: Thu Jul 11 15:57:43 2024 -0400 eh: ICE with std::initializer_list and ASan [PR115865] Here we ICE with -fsanitize=address on

[gcc r14-10461] eh: ICE with std::initializer_list and ASan [PR115865]

2024-07-18 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:493035c8780cd510a680a791d0c7f94368164352 commit r14-10461-g493035c8780cd510a680a791d0c7f94368164352 Author: Marek Polacek Date: Thu Jul 11 15:57:43 2024 -0400 eh: ICE with std::initializer_list and ASan [PR115865] Here we ICE with -fsanitize=address on

[gcc r15-2146] c++: implement DR1363 and DR1496 for __is_trivial [PR85723]

2024-07-18 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:9690fb3a43e5cf26a5fb853283d4200df312a640 commit r15-2146-g9690fb3a43e5cf26a5fb853283d4200df312a640 Author: Marek Polacek Date: Tue Jun 18 16:49:24 2024 -0400 c++: implement DR1363 and DR1496 for __is_trivial [PR85723] is_trivial was introduced in

[gcc r15-2235] doc: add missing @option for musttail

2024-07-23 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:e8c40aed0f81ca8aac1ae43f140f489eda2d3a07 commit r15-2235-ge8c40aed0f81ca8aac1ae43f140f489eda2d3a07 Author: Marek Polacek Date: Tue Jul 23 16:32:20 2024 -0400 doc: add missing @option for musttail gcc/ChangeLog: * doc/extend.texi: Add missing

[gcc r14-9558] testsuite: fix target for linkage-1.C

2024-03-19 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:7a6261332de58fd47283d694d8cd61ea7cdb324c commit r14-9558-g7a6261332de58fd47283d694d8cd61ea7cdb324c Author: Marek Polacek Date: Tue Mar 19 17:15:38 2024 -0400 testsuite: fix target for linkage-1.C This test fails in C++11 due to: linkage-1.C:3:8: erro

[gcc r14-9596] c++: explicit inst of template method not generated [PR110323]

2024-03-21 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:081f8937cb82da311c224da04b0c6cbd57a8fb5d commit r14-9596-g081f8937cb82da311c224da04b0c6cbd57a8fb5d Author: Marek Polacek Date: Thu Mar 7 20:41:23 2024 -0500 c++: explicit inst of template method not generated [PR110323] Consider constexpr int VAL =

[gcc r14-9622] c++: direct-init of an array of class type [PR59465]

2024-03-22 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d1d8fd2884b44598d80de1038b086eec41519d4b commit r14-9622-gd1d8fd2884b44598d80de1038b086eec41519d4b Author: Marek Polacek Date: Thu Feb 22 18:49:08 2024 -0500 c++: direct-init of an array of class type [PR59465] ...from another array in a mem-initializer shoul

[gcc r14-9658] c++: broken direct-init with trailing array member [PR114439]

2024-03-25 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:de0886d48032332d10e4acb5d15c8789b281b6fe commit r14-9658-gde0886d48032332d10e4acb5d15c8789b281b6fe Author: Marek Polacek Date: Mon Mar 25 15:32:20 2024 -0400 c++: broken direct-init with trailing array member [PR114439] can_init_array_with_p is wrongly saying

[gcc r14-9659] c++: ICE with noexcept and local specialization, again [PR114349]

2024-03-25 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:8651991fe2ea90a7276e91673b15b5c3865f14d7 commit r14-9659-g8651991fe2ea90a7276e91673b15b5c3865f14d7 Author: Marek Polacek Date: Fri Mar 15 09:23:28 2024 -0400 c++: ICE with noexcept and local specialization, again [PR114349] Patrick noticed that my r14-9339-gd

[gcc r14-9674] c++: add fixed test [PR100557]

2024-03-26 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c0e199e4dbe652cd16d7248f0bfe166540f5d95b commit r14-9674-gc0e199e4dbe652cd16d7248f0bfe166540f5d95b Author: Marek Polacek Date: Tue Mar 26 10:39:48 2024 -0400 c++: add fixed test [PR100557] We used to hit the "Error reporting routines re-entered." ICE here but

[gcc r14-9758] c++: ICE with scoped enum in switch condition [PR103825]

2024-04-02 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:daa2e7c7ffe49b788357f7f2c9ef1c9b125c1f8c commit r14-9758-gdaa2e7c7ffe49b788357f7f2c9ef1c9b125c1f8c Author: Marek Polacek Date: Fri Mar 29 16:59:37 2024 -0400 c++: ICE with scoped enum in switch condition [PR103825] Here we ICE when gimplifying enum

[gcc r13-8560] c++: ICE with scoped enum in switch condition [PR103825]

2024-04-02 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:22510e4a68aa9ca850db34ae62c21c58442d8ab3 commit r13-8560-g22510e4a68aa9ca850db34ae62c21c58442d8ab3 Author: Marek Polacek Date: Fri Mar 29 16:59:37 2024 -0400 c++: ICE with scoped enum in switch condition [PR103825] Here we ICE when gimplifying enum

[gcc r14-9759] c++: make __is_array return false for T[0] [PR114479]

2024-04-02 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:2f2924078ce51c2a0da3ad8f958f2d1de533969a commit r14-9759-g2f2924078ce51c2a0da3ad8f958f2d1de533969a Author: Marek Polacek Date: Mon Apr 1 12:55:46 2024 -0400 c++: make __is_array return false for T[0] [PR114479] When we switched to using the __is_array built-i

[gcc r14-9809] c++: constexpr error with fn redecl in local scope [PR111132]

2024-04-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:8c9063825ce726fcbbc067d8a6d062cc2d4acf5e commit r14-9809-g8c9063825ce726fcbbc067d8a6d062cc2d4acf5e Author: Marek Polacek Date: Tue Apr 2 12:59:38 2024 -0400 c++: constexpr error with fn redecl in local scope [PR32] We evaluate constexpr functions on the o

[gcc r14-9810] c-family: remove dead #undef

2024-04-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:e4d074321bcafa6504ee6b77754b4450a4622f9d commit r14-9810-ge4d074321bcafa6504ee6b77754b4450a4622f9d Author: Marek Polacek Date: Thu Apr 4 19:28:00 2024 -0400 c-family: remove dead #undef The #undef was added in r0-90320-g100d537d7a7b5c but it never did any

[gcc r14-9815] c++: add fixed test [PR91079]

2024-04-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:2b2d3a135a43cbafadd8957e0b2543f38c390437 commit r14-9815-g2b2d3a135a43cbafadd8957e0b2543f38c390437 Author: Marek Polacek Date: Fri Apr 5 13:40:33 2024 -0400 c++: add fixed test [PR91079] Fixed by r12-2975. PR c++/91079 DR 1881

[gcc r14-9903] target: missing -Whardened with -fcf-protection=none [PR114606]

2024-04-10 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:b8b148bc22673689fda19711b428b544462be2e4 commit r14-9903-gb8b148bc22673689fda19711b428b544462be2e4 Author: Marek Polacek Date: Fri Apr 5 12:37:19 2024 -0400 target: missing -Whardened with -fcf-protection=none [PR114606] -Whardened warns when -fhardened could

[gcc r14-9950] c++: ICE with temporary of class type in array DMI [PR109966]

2024-04-12 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:6039925631780741ba77666ef2ef743aa2a925a8 commit r14-9950-g6039925631780741ba77666ef2ef743aa2a925a8 Author: Marek Polacek Date: Mon Mar 11 17:45:55 2024 -0400 c++: ICE with temporary of class type in array DMI [PR109966] This ICE started with the fairly compli

[gcc r14-10075] testsuite: prune -freport-bug output

2024-04-22 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:0db19228a9feba5a8f4e13b21f25f3aa8a6c5e85 commit r14-10075-g0db19228a9feba5a8f4e13b21f25f3aa8a6c5e85 Author: Marek Polacek Date: Fri Apr 19 13:51:41 2024 -0400 testsuite: prune -freport-bug output When the compiler defaults to -freport-bug, a few dg-ice tests

[gcc r15-2435] c++: array new with value-initialization, again [PR115645]

2024-07-31 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:bbc9c0423ca754e8e6ff80e08948ff52986337a0 commit r15-2435-gbbc9c0423ca754e8e6ff80e08948ff52986337a0 Author: Marek Polacek Date: Wed Jul 17 15:44:26 2024 -0400 c++: array new with value-initialization, again [PR115645] Unfortunately, my r15-1946 fix broke the a

[gcc r15-2695] c++: DR882, main cannot be deleted [PR116169]

2024-08-02 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:a790828ccb3b06a7771f871651e7b54d13c3a168 commit r15-2695-ga790828ccb3b06a7771f871651e7b54d13c3a168 Author: Marek Polacek Date: Thu Aug 1 11:32:26 2024 -0400 c++: DR882, main cannot be deleted [PR116169] This DR clarifies that "int main() = delete;" is ill-for

[gcc r15-2703] c++: Move -Wdangling-reference to -Wextra

2024-08-02 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:5ebfaf2d4994c124ce81aa0abd7eaa1529644749 commit r15-2703-g5ebfaf2d4994c124ce81aa0abd7eaa1529644749 Author: Marek Polacek Date: Thu Aug 1 10:35:38 2024 -0400 c++: Move -Wdangling-reference to -Wextra Despite a number of mitigations (don't warn for std::span-li

[gcc r15-2727] c++: fix -Wdangling-reference false positive [PR115987]

2024-08-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:34d947134403e7482ba4f153d8faabee0bc4933e commit r15-2727-g34d947134403e7482ba4f153d8faabee0bc4933e Author: Marek Polacek Date: Wed Jul 31 17:33:55 2024 -0400 c++: fix -Wdangling-reference false positive [PR115987] This fixes another false positive. When a fu

[gcc r15-2735] c++: remove function/var concepts code

2024-08-05 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:935e82248873c3798d4ede742a75ad10e99257ad commit r15-2735-g935e82248873c3798d4ede742a75ad10e99257ad Author: Marek Polacek Date: Thu Aug 1 15:39:10 2024 -0400 c++: remove function/var concepts code This patch removes vestigial Concepts TS code as discussed in

[gcc r15-2762] c++: further concept_check_p clean-up

2024-08-06 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:68e269092ee405832998b735a796c1953039d5f3 commit r15-2762-g68e269092ee405832998b735a796c1953039d5f3 Author: Marek Polacek Date: Tue Aug 6 09:34:02 2024 -0400 c++: further concept_check_p clean-up Patrick noticed a few more concept_check_p checks that can be re

[gcc r15-2920] c++: ICE with NSDMIs and fn arguments [PR116015]

2024-08-14 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d91b6c93f98cac71f5588d73191d08ad788e600c commit r15-2920-gd91b6c93f98cac71f5588d73191d08ad788e600c Author: Marek Polacek Date: Fri Aug 9 16:14:18 2024 -0400 c++: ICE with NSDMIs and fn arguments [PR116015] The problem in this PR is that we ended up with

[gcc r14-10235] c++: failure to suppress -Wsizeof-array-div in template [PR114983]

2024-05-22 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c27d6c7fd03f95483d372eae2c96912ceee98a5e commit r14-10235-gc27d6c7fd03f95483d372eae2c96912ceee98a5e Author: Marek Polacek Date: Wed May 8 17:02:49 2024 -0400 c++: failure to suppress -Wsizeof-array-div in template [PR114983] -Wsizeof-array-div offers a way to

[gcc r15-868] c++: mark TARGET_EXPRs for function arguments eliding [PR114707]

2024-05-28 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:5bc731b83b51910dc7f7cacddb4257a16d62ee38 commit r15-868-g5bc731b83b51910dc7f7cacddb4257a16d62ee38 Author: Marek Polacek Date: Wed May 22 16:28:02 2024 -0400 c++: mark TARGET_EXPRs for function arguments eliding [PR114707] Coming back to our discussion in

[gcc r15-871] c++: extend -Wself-move for mem-init-list [PR109396]

2024-05-28 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:efaaae49b307fcc7e771518da3edae49f92c19db commit r15-871-gefaaae49b307fcc7e771518da3edae49f92c19db Author: Marek Polacek Date: Thu May 23 15:49:42 2024 -0400 c++: extend -Wself-move for mem-init-list [PR109396] We already warn for: x = std::move (x)

[gcc r14-10798] c++: ICE with ()-init and TARGET_EXPR eliding [PR116424]

2024-10-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:420e17e642e0b1e9ebf1502613ea1c0acfa8a0e1 commit r14-10798-g420e17e642e0b1e9ebf1502613ea1c0acfa8a0e1 Author: Marek Polacek Date: Tue Aug 27 18:25:17 2024 -0400 c++: ICE with ()-init and TARGET_EXPR eliding [PR116424] Here we crash on a cp_gimplify_expr/TARGET_

[gcc r14-10799] c++: wrong error due to std::initializer_list opt [PR116476]

2024-10-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:0784e8934e96187e17c1b02dce1e0ed35d2229dd commit r14-10799-g0784e8934e96187e17c1b02dce1e0ed35d2229dd Author: Marek Polacek Date: Wed Aug 28 15:45:49 2024 -0400 c++: wrong error due to std::initializer_list opt [PR116476] Here maybe_init_list_as_array gets eltt

[gcc r14-10800] c++: ICE with -Wtautological-compare in template [PR116534]

2024-10-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:36de56d3d643e7b8131fa6671b9e85258a1d1ca1 commit r14-10800-g36de56d3d643e7b8131fa6671b9e85258a1d1ca1 Author: Marek Polacek Date: Thu Aug 29 10:40:50 2024 -0400 c++: ICE with -Wtautological-compare in template [PR116534] Pre r14-4793, we'd call warn_tautologica

[gcc r15-5053] c: Implement C2y N3356, if declarations [PR117019]

2024-11-08 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:440be01b07941506d1c8819448bd17c8717d55f5 commit r15-5053-g440be01b07941506d1c8819448bd17c8717d55f5 Author: Marek Polacek Date: Thu Oct 31 09:28:15 2024 -0400 c: Implement C2y N3356, if declarations [PR117019] This patch implements C2y N3356, if declarations a

[gcc r15-3812] c++: diagnose this specifier in requires expr [PR116798]

2024-09-23 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:4700ad1c78ccd7767f846802fca148b2ea9a1852 commit r15-3812-g4700ad1c78ccd7767f846802fca148b2ea9a1852 Author: Marek Polacek Date: Mon Sep 23 12:19:40 2024 -0400 c++: diagnose this specifier in requires expr [PR116798] We don't detect an explicit object parameter

[gcc r15-3905] c++: tweak for -Wrange-loop-construct [PR116731]

2024-09-26 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:6ac4e2f4b2ca9980670e7d3815a9140730df1005 commit r15-3905-g6ac4e2f4b2ca9980670e7d3815a9140730df1005 Author: Marek Polacek Date: Tue Sep 17 16:58:37 2024 -0400 c++: tweak for -Wrange-loop-construct [PR116731] This PR reports that the warning would be better off

[gcc r15-3933] c++: ICE with structured bindings and m-d array [PR102594]

2024-09-27 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:96e0370f4daef29b918aafcff68c7f5e4ef397fd commit r15-3933-g96e0370f4daef29b918aafcff68c7f5e4ef397fd Author: Marek Polacek Date: Thu Sep 5 16:45:32 2024 -0400 c++: ICE with structured bindings and m-d array [PR102594] We ICE in decay_conversion with this test:

[gcc r15-3722] c-family: regenerate c.opt.urls

2024-09-19 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:91da9e3b5486875efbdb7428d63c3a0fa42508a9 commit r15-3722-g91da9e3b5486875efbdb7428d63c3a0fa42508a9 Author: Marek Polacek Date: Thu Sep 19 18:55:18 2024 -0400 c-family: regenerate c.opt.urls I forgot again. gcc/c-family/ChangeLog: * c

[gcc r15-3721] c++: deleting explicitly-defaulted functions [PR116162]

2024-09-19 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:a2746e4347076ea48f4aeb28e13e6337ff7799ad commit r15-3721-ga2746e4347076ea48f4aeb28e13e6337ff7799ad Author: Marek Polacek Date: Mon Sep 9 14:23:33 2024 -0400 c++: deleting explicitly-defaulted functions [PR116162] This PR points out the we're not implementing

[gcc r15-3980] c++: concept in default argument [PR109859]

2024-09-30 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:4bcfaaed25b1b8ecc81f6a28d9ca76f00870dedf commit r15-3980-g4bcfaaed25b1b8ecc81f6a28d9ca76f00870dedf Author: Marek Polacek Date: Wed Sep 18 15:44:31 2024 -0400 c++: concept in default argument [PR109859] 1) We're hitting the assert in cp_parser_placeholder_type

[gcc r15-3863] c++: use TARGET_EXPR accessors

2024-09-25 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:1fea6f82489006cfec3171f77bde8b5ed3527616 commit r15-3863-g1fea6f82489006cfec3171f77bde8b5ed3527616 Author: Marek Polacek Date: Tue Sep 24 17:54:04 2024 -0400 c++: use TARGET_EXPR accessors While futzing around with PR116416 I noticed that we can use the _

[gcc r15-3672] c++: crash with anon VAR_DECL [PR116676]

2024-09-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:dfe0d4389a3ce43179563a63046ad3e74d615a08 commit r15-3672-gdfe0d4389a3ce43179563a63046ad3e74d615a08 Author: Marek Polacek Date: Mon Sep 16 16:42:38 2024 -0400 c++: crash with anon VAR_DECL [PR116676] r12-3495 added maybe_warn_about_constant_value which will cr

[gcc r14-10675] c++: crash with anon VAR_DECL [PR116676]

2024-09-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:f1dc18250d82cd123fcf9aef0a95608e4ec63d58 commit r14-10675-gf1dc18250d82cd123fcf9aef0a95608e4ec63d58 Author: Marek Polacek Date: Mon Sep 16 16:42:38 2024 -0400 c++: crash with anon VAR_DECL [PR116676] r12-3495 added maybe_warn_about_constant_value which will c

[gcc r13-9031] c++: crash with anon VAR_DECL [PR116676]

2024-09-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c8682dd76e31ee4bc4dede23c78d6d66de350e83 commit r13-9031-gc8682dd76e31ee4bc4dede23c78d6d66de350e83 Author: Marek Polacek Date: Mon Sep 16 16:42:38 2024 -0400 c++: crash with anon VAR_DECL [PR116676] r12-3495 added maybe_warn_about_constant_value which will cr

[gcc r12-10713] c++: crash with anon VAR_DECL [PR116676]

2024-09-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:9046f9aeae0f926e7365d39809a80855e7dc184a commit r12-10713-g9046f9aeae0f926e7365d39809a80855e7dc184a Author: Marek Polacek Date: Mon Sep 16 16:42:38 2024 -0400 c++: crash with anon VAR_DECL [PR116676] r12-3495 added maybe_warn_about_constant_value which will c

[gcc r15-3673] c++: ICE with -Wtautological-compare in template [PR116534]

2024-09-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:7ca486889b1b1c7e7bcbbca3b6caa103294ec07d commit r15-3673-g7ca486889b1b1c7e7bcbbca3b6caa103294ec07d Author: Marek Polacek Date: Thu Aug 29 10:40:50 2024 -0400 c++: ICE with -Wtautological-compare in template [PR116534] Pre r14-4793, we'd call warn_tautological

[gcc r15-3674] c++: fix constexpr cast from void* diag issue [PR116741]

2024-09-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d6d8445c85509b66a59aa6247ad7b2cfeab17725 commit r15-3674-gd6d8445c85509b66a59aa6247ad7b2cfeab17725 Author: Marek Polacek Date: Tue Sep 17 14:34:30 2024 -0400 c++: fix constexpr cast from void* diag issue [PR116741] The result of build_fold_indirect_ref can be

[gcc r15-5764] c++: define __cpp_pack_indexing [PR113798]

2024-11-28 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:a4954130d43d478a23ec8b65f5d861167935d77a commit r15-5764-ga4954130d43d478a23ec8b65f5d861167935d77a Author: Marek Polacek Date: Thu Nov 28 12:07:00 2024 -0500 c++: define __cpp_pack_indexing [PR113798] Forgot to do this in my original patch. P

[gcc r15-5309] testsuite: fix g++.dg/tree-ssa/pr58483.C

2024-11-14 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:3757009af71cd8404198909f087b5140ce42500a commit r15-5309-g3757009af71cd8404198909f087b5140ce42500a Author: Marek Polacek Date: Fri Nov 15 00:02:44 2024 -0500 testsuite: fix g++.dg/tree-ssa/pr58483.C This test mistakenly used two dg-do compile. Since it passe

[gcc r15-6052] c++: compile time evaluation of prvalues [PR116416]

2024-12-09 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:12de1942a0a673f9f2f1c2bfce4279a666061ffc commit r15-6052-g12de1942a0a673f9f2f1c2bfce4279a666061ffc Author: Marek Polacek Date: Thu Aug 29 12:58:41 2024 -0400 c++: compile time evaluation of prvalues [PR116416] This PR reports a missed optimization. When we h

[gcc r15-6054] driver: fix crash with --diagnostics-plain-output [PR117942]

2024-12-09 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:be2062be9a629ae18a0c87c6b9cbe1885978417e commit r15-6054-gbe2062be9a629ae18a0c87c6b9cbe1885978417e Author: Marek Polacek Date: Mon Dec 9 08:19:35 2024 -0500 driver: fix crash with --diagnostics-plain-output [PR117942] We are crashing here because decode_cmdli

[gcc r15-7361] c++: add fixed test [PR94100]

2025-02-04 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:f176028371c5b5339ca6d8d975d47b2347234af9 commit r15-7361-gf176028371c5b5339ca6d8d975d47b2347234af9 Author: Marek Polacek Date: Tue Feb 4 17:32:50 2025 -0500 c++: add fixed test [PR94100] The recent r15-7339-g26d3424ca5d9f4 fixed this test too.

[gcc r15-7354] c++: bogus -Wvexing-parse with trailing-return-type [PR118718]

2025-02-04 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:53d1f6cdb5a82e859176e854636400faba0bf0bf commit r15-7354-g53d1f6cdb5a82e859176e854636400faba0bf0bf Author: Marek Polacek Date: Fri Jan 31 14:52:36 2025 -0500 c++: bogus -Wvexing-parse with trailing-return-type [PR118718] This warning should not warn for

[gcc r15-7355] c++: auto in trailing-return-type in parameter [PR117778]

2025-02-04 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:e6e40cb7459c9b21b291fe28e46cd4ebcd924dff commit r15-7355-ge6e40cb7459c9b21b291fe28e46cd4ebcd924dff Author: Marek Polacek Date: Wed Jan 29 15:58:38 2025 -0500 c++: auto in trailing-return-type in parameter [PR117778] This PR describes a few issues, both ICE an

[gcc r15-7417] c++: ICE with unparsed noexcept [PR117106]

2025-02-07 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:f5ef1f9e8589697086c8cfea6ad07d56050dde96 commit r15-7417-gf5ef1f9e8589697086c8cfea6ad07d56050dde96 Author: Marek Polacek Date: Thu Feb 6 08:57:22 2025 -0500 c++: ICE with unparsed noexcept [PR117106] In a member-specification of a class, a noexcept-specifier

[gcc r14-11258] c++: re-enable NSDMI CONSTRUCTOR folding [PR118355]

2025-01-29 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:8774d5076d0a30c0809dd96f3fdbec8f867eeac5 commit r14-11258-g8774d5076d0a30c0809dd96f3fdbec8f867eeac5 Author: Marek Polacek Date: Mon Jan 13 15:09:14 2025 -0500 c++: re-enable NSDMI CONSTRUCTOR folding [PR118355] In c++/102990 we had a problem where massage_ini

[gcc r15-7306] c++: wrong-code with consteval constructor [PR117501]

2025-01-31 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:0d97700443b45b947eda40dac7cf4d0397770b87 commit r15-7306-g0d97700443b45b947eda40dac7cf4d0397770b87 Author: Marek Polacek Date: Mon Jan 27 14:23:22 2025 -0500 c++: wrong-code with consteval constructor [PR117501] We've had a wrong-code problem since r14-4140,

[gcc r15-6089] c++: ICE with -Wduplicated-branches in template [PR117880]

2024-12-10 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:d26c166001d6a5bdfd94be6e6d17135669ed340b commit r15-6089-gd26c166001d6a5bdfd94be6e6d17135669ed340b Author: Marek Polacek Date: Mon Dec 9 15:36:25 2024 -0500 c++: ICE with -Wduplicated-branches in template [PR117880] In a template, for things like void() we'll

[gcc r15-6083] c++: P2865R5, Remove Deprecated Array Comparisons from C++26 [PR117788]

2024-12-10 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:c628def52c87b40b6270618252488bcd731e1843 commit r15-6083-gc628def52c87b40b6270618252488bcd731e1843 Author: Marek Polacek Date: Wed Nov 27 18:00:24 2024 -0500 c++: P2865R5, Remove Deprecated Array Comparisons from C++26 [PR117788] This patch implements P2865R5

[gcc r15-6313] c++: print NONTYPE_ARGUMENT_PACK [PR118073]

2024-12-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:91733c095ee714c0b384153754c6327d5506cd19 commit r15-6313-g91733c095ee714c0b384153754c6327d5506cd19 Author: Marek Polacek Date: Tue Dec 17 13:44:22 2024 -0500 c++: print NONTYPE_ARGUMENT_PACK [PR118073] This PR points out that we're not pretty-printing NONTYPE

[gcc r15-6308] c++: ICE initializing array of aggrs [PR117985]

2024-12-17 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:40e5636e086e51f5908a1a01be9cba2218dc26d8 commit r15-6308-g40e5636e086e51f5908a1a01be9cba2218dc26d8 Author: Marek Polacek Date: Thu Dec 12 14:56:07 2024 -0500 c++: ICE initializing array of aggrs [PR117985] This crash started with my r12-7803 but I believe the

[gcc r13-9251] c++: ICE with ()-init and TARGET_EXPR eliding [PR116424]

2024-12-13 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:5eca4dc76ded61a959447bd11d1edf6d4030a51d commit r13-9251-g5eca4dc76ded61a959447bd11d1edf6d4030a51d Author: Marek Polacek Date: Tue Aug 27 18:25:17 2024 -0400 c++: ICE with ()-init and TARGET_EXPR eliding [PR116424] Here we crash on a cp_gimplify_expr/TARGET_E

[gcc r14-11086] c++: ICE with -Wduplicated-branches in template [PR117880]

2024-12-13 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:2fd2f40e0461e21df0a2f5ead083d53b641d2a86 commit r14-11086-g2fd2f40e0461e21df0a2f5ead083d53b641d2a86 Author: Marek Polacek Date: Mon Dec 9 15:36:25 2024 -0500 c++: ICE with -Wduplicated-branches in template [PR117880] In a template, for things like void() we'l

  1   2   >