[Bug c++/119838] New: optional template keyword causing error

2025-04-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119838 Bug ID: 119838 Summary: optional template keyword causing error Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/119829] Internal Compiler Error with braced initialization and designated initializers

2025-04-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119829 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug c++/119807] [15 Regression] constexpr counter thing causes ICE: in instantiate_decl, at cp/pt.cc:27844

2025-04-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119807 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/119580] [12/13/14/15 Regression] ICE: tree check: expected tree_vec, have error_mark in comp_template_args, at cp/pt.cc:9595

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119580 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug middle-end/119576] Please remove -Warray-bounds from -Wall

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/119563] [15 Regression] internal compiler error on large enough vector initialization

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119563 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/119574] [15 regression] ICE on lambda in default template argument

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/119574] [14/15 regression] ICE on lambda in default template argument

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 --- Comment #5 from Marek Polacek --- Or perhaps this should be a P2. I'm honestly not sure. We should fix it anyway ;).

[Bug c++/119574] [14/15 regression] ICE on lambda in default template argument

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 Marek Polacek changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Key

[Bug c++/119303] [12/13/14 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-03-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] ICE:

[Bug c++/119548] ICE: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst_pack_expansion when accessing uninstantiated decltype(lambda template return) type, inside other lambda template

2025-03-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119548 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/107430] [meta-bug] lambda in decltype

2025-03-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 116960, which changed state. Bug 116960 Summary: ICE: Error reporting routines re-entered https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 What|Removed |Added --

[Bug c++/107430] [meta-bug] lambda in decltype

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 110242, which changed state. Bug 110242 Summary: ICE on valid (decltype with lambda) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242 What|Removed |Added ---

[Bug c++/110242] ICE on valid (decltype with lambda)

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110242 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/107430] [meta-bug] lambda in decltype

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 118672, which changed state. Bug 118672 Summary: ICE on template lambda expression return a lambda type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672 What|Removed |Added

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/118672] ICE on template lambda expression return a lambda type

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug c++/116960] ICE: Error reporting routines re-entered

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Marek Polacek changed: What|Removed |Added CC||stevenxia990430 at gmail dot com --- C

[Bug c++/118672] ICE on template lambda expression return a lambda type

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118672 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug testsuite/119489] g++.dg/strub-internal-pr112938.C test fails once fixed to actually run

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119489 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/119490] g++.dg/template/explicit-args6.C fails test for warnings once directive fixed

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/119490] g++.dg/template/explicit-args6.C fails test for warnings once directive fixed

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/119490] g++.dg/template/explicit-args6.C fails test for warnings once directive fixed

2025-03-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119490 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/119401] [15 regression] ICE when lambda is used as template argument in member function parameter type since r15-7202

2025-03-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401 --- Comment #3 from Marek Polacek --- We crash in convert_nontype_argument on gcc_assert (same_type_ignoring_top_level_qualifiers_p (type, TREE_TYPE (expr))); because type=struct ._anon_3 and TREE_TYPE (expr)=const struct ._ano

[Bug c++/101881] [12/13/14 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5

2025-03-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Summary|[12/13/14/15 R

[Bug c++/101881] [12/13/14/15 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5

2025-03-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/119447] ICE Segmentation fault with incorrect template class declaration syntax and varadic parameter

2025-03-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119447 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/119446] ICE in finish_member_declaration, at cp/semantics.cc:4235

2025-03-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119446 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/119383] [15 Regression] Boost 1.85 lib build fail after commit r15-8011

2025-03-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119383 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/119437] [12/13/14/15 regression] ICE in build_base_path, at cp/class.cc:302

2025-03-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119437 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/119436] [12/13/14/15 regression] ICE in pop_local_binding, at cp/name-lookup.cc:2636

2025-03-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119436 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/119401] [15 regression] ICE when lambda is used as template argument in member function parameter type

2025-03-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/119392] ICE: in build_if_in_charge, at cp/class.cc:230

2025-03-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119392 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/119387] [14/15 Regression] Regression in performance by a factor of 6 when building with debugging symbols since r14-5979

2025-03-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119387 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug c++/119387] [14/15 Regression] Regression in performance by a factor of 6 when building with debugging symbols since r14-5979

2025-03-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119387 --- Comment #7 from Marek Polacek --- Huh. I guess I should take a look then.

[Bug c++/101603] [meta-bug] pointer to member functions issues

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 119344, which changed state. Bug 119344 Summary: [14/15 Regression] internal compiler error related to template parameters and pointers to member functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118104] [12 Regression] checking ICE when substituting packs into type aliases

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116731] Incorrect behavior of -Wrange-loop-construct in GCC 14

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/119345] [14/15 Regression] ICE segfault on capturing lambda in fold expression in capturing lambda

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119345 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Keywords|needs-bisection

[Bug c++/119347] ICE: in tsubst, at cp/pt.cc:16632

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119347 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

2025-03-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 --- Comment #4 from Marek Polacek --- I guess we need --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -4101,7 +4101,7 @@ skip_simple_arithmetic (tree expr) computations if they actually occur. */ while (true) { - if (UNARY_CLASS_P (e

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/119339] Allows invalid constexpr of addresses with references initialized to itself

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119339 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/119303] [12/13/14/15 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org A

[Bug c++/116731] Incorrect behavior of -Wrange-loop-construct in GCC 14

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #13 from Marek Pol

[Bug c++/118104] [12/13/14/15 Regression] checking ICE when substituting packs into type aliases

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/119328] ICE on generic lambda with defaulted parameter in requires clause

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119328 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last reco

[Bug c++/119316] [14/15 Regression] new expression incorrectly required to have constant expression size inside a requires constraint of a template function

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119316 Marek Polacek changed: What|Removed |Added Summary|new expression incorrectly |[14/15 Regression] new

[Bug c++/118104] [12/13/14/15 Regression] checking ICE when substituting packs into type aliases

2025-03-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104 --- Comment #3 from Marek Polacek --- A little different test I've been using: ``` template struct Z { }; template struct X { template using Y = Z; }; template using foo = X::Y; ```

[Bug c++/118104] [12/13/14/15 Regression] checking ICE when substituting packs into type aliases

2025-03-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104 --- Comment #2 from Marek Polacek --- For "void(Ts, Us)..." in the test we end up in use_pack_expansion_extra_args_p with a TYPE _PACK_EXPANSION with pattern=void(Ts, Us) and the list of param packs={Us, Ts}; parm_packs is { Ts -> , Us -> }. W

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2025-03-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/67491] [meta-bug] concepts issues

2025-03-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 119134, which changed state. Bug 119134 Summary: [12 Regression] ICE segfault on capturing lambda in fold expression in requires clause https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 What|Removed

[Bug c++/119134] [12 Regression] ICE segfault on capturing lambda in fold expression in requires clause

2025-03-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12 Regression] ICE |

[Bug c++/119252] g++: internal compiler error: Segmentation fault signal terminated program cc1plus

2025-03-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119252 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/113349] [12/13/14/15 Regression] internal compiler error: in tsubst

2025-03-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113349 --- Comment #9 from Marek Polacek --- When we're parsing "decltype([] {}())", we create auto with idx=0 and level=2 (because current_template_depth==1 and we use a TEMPLATE_TYPE_PARM with a level one deeper than the actual template parms). Late

[Bug c++/113349] [12/13/14/15 Regression] internal compiler error: in tsubst

2025-03-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113349 --- Comment #8 from Marek Polacek --- A bit more cleaned up (one less decltype): ``` // PR c++/113349 template struct S { }; template struct X; template struct X { template using type = int; }; S::type<1>> s; ```

[Bug c++/96605] ICE in tsubst, at cp/pt.c:14929 on C++20 code

2025-03-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96605 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/97639] [c++20,-fconcepts-ts] ICE: gcc_assert in tsubst, cp/pt.c:15464

2025-03-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97639 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/119175] [14/15 Regression] ICE segfault on lambda in requires clause of generic lambda in requires clause

2025-03-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175 --- Comment #2 from Marek Polacek --- The infinite looping happens in: #86 0x0061032f in write_expression (expr=) at /home/mpolacek/src/gcc/gcc/cp/mangle.cc:3807 #87 0x005ff225 in write_constraint_expression (expr=) at /

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2025-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/119175] [14/15 Regression] ICE segfault on lambda in requires clause of generic lambda in requires clause

2025-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2025-03-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 --- Comment #7 from Marek Polacek --- I think the problem is that we create something like d = MEM [(struct A *)&TARGET_EXPR [(struct A *)(const struct A &) &e], TARGET_EXPR in build_over_call: t = build2 (MODIFY_EXPR, void_type_

[Bug c++/118775] [12/13/14 Regression] ICE in tree_to_uhwi with unique_ptr and addresss of var converted to an integer

2025-03-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] ICE

[Bug c++/119162] New: missing error with constexpr new

2025-03-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119162 Bug ID: 119162 Summary: missing error with constexpr new Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

[Bug c++/119134] [12/13/14/15 Regression] ICE segfault on capturing lambda in fold expression in requires clause

2025-03-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/119134] ICE segfault on capturing lambda in fold expression in requires clause

2025-03-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 --- Comment #2 from Marek Polacek --- Started with r12-8258: commit 65735d21ac410463126114c572999682f987972c Author: Jason Merrill Date: Thu Apr 21 17:24:07 2022 -0400 c++: generic lambda fn parm pack [PR104624] The patch may be just:

[Bug c++/119134] [12/13/14/15 Regression] ICE segfault on capturing lambda in fold expression in requires clause

2025-03-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 Marek Polacek changed: What|Removed |Added Target Milestone|--- |12.5 Summary|ICE segfault on

[Bug c++/119134] ICE segfault on capturing lambda in fold expression in requires clause

2025-03-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/115580] [12/13 regression] null pointer warning from an unevaluated context

2025-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115580 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 regression]|[12/13 regression] null

[Bug middle-end/95507] [meta-bug] bogus/missing -Wnonnull

2025-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507 Bug 95507 depends on bug 115580, which changed state. Bug 115580 Summary: [12/13 regression] null pointer warning from an unevaluated context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115580 What|Removed |Ad

[Bug c++/119129] [14/15 Regression] ICE: in keep_template_parm, at cp/pt.cc:11115

2025-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119129 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/119123] ICE when building llvm-20.1.0 with -g

2025-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119123 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-03-05 Status|UNCONFIRM

[Bug c++/119119] ICE in create_tmp_var

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119119 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/99590] [12/13/14/15 Regression] ICE when pack expansion with lambda

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99590 --- Comment #7 from Marek Polacek --- (In reply to Andrew Pinski from comment #2) > Here is a C++17 version which crashes from 8.1+: > template > void g(T... args) { > ([args...](auto){}(args), ...); > } > > int main() { g(0, 1); } This sta

[Bug c++/109433] [12/13/14/15 Regression] ICE with -std=c++11 and static constexpr array inside a template constexpr

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109433 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/109431] [12/13/14 Regression] ICE in output_constructor_regular_field with static constexpr array inside a template constexpr function since r9-1483-g307193b82cecb8

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109431 Marek Polacek changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug c++/113349] [12/13/14/15 Regression] internal compiler error: in tsubst

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113349 --- Comment #7 from Marek Polacek --- Better test: ``` // PR c++/113349 template void foo() { } template using tuple_element_t = _Tp; template struct types; template struct types { template using el = tuple_element_t; }; void g () {

[Bug c++/115580] [12/13/14/15 regression] null pointer warning from an unevaluated context

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115580 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/97165] [12/13/14/15 Regression] Infinite error stream on invalid code

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97165 Marek Polacek changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug c++/109431] [12/13/14 Regression] ICE in output_constructor_regular_field with static constexpr array inside a template constexpr function since r9-1483-g307193b82cecb8

2025-03-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109431 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] ICE

[Bug c++/117436] [contracts] Using data member inside a lambda from a contract fails

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117436 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last reco

[Bug c++/117579] [contracts] contract assertion on a non empty statement causes an ICE

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117579 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 --- Comment #6 from Marek Polacek --- Planning to backport to 14 too.

[Bug c++/114913] "verify_gimple failed" due to addition of two constexpr strings

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114913 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 Marek Polacek changed: What|Removed |Added CC||jorg.brown at gmail dot com --- Comment

[Bug c++/118986] [15 Regression] internal compiler error: in replace_decl, at cp/constexpr.cc

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118986 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/119063] [C++26] P2841R7 - Concept and variable-template template-parameters

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119063 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/119060] [C++26] P1494R5 - Partial program correctness

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119060 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug c++/119062] [C++26] P3475R2 - Defang and deprecate memory_order::consume

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119062 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/119064] [C++26] P2786R13 - Trivial Relocatability

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119064 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/119061] [C++26] P2900R14 - Contracts

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119061 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/119059] [C++26] P3074R7 - Trivial unions

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119059 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-28 Ever confirmed|0

[Bug c++/117787] [C++26] P3247R2 - Deprecating the notion of trivial types

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117787 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/109431] [12/13/14/15 Regression] ICE in output_constructor_regular_field with static constexpr array inside a template constexpr function since r9-1483-g307193b82cecb8

2025-02-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109431 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/119048] ICE Segfault on lambda with variadic parameters and static specifier

2025-02-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119048 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-27 Keywords|

  1   2   3   4   5   6   7   8   9   10   >