[Bug c++/121641] Rejects valid constexpr explicitly defaulted constructor which is never a constant expression (P2448R2)

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

[Bug c++/121553] [16 regression] Dolphin fails to build (error: declaration of ‘auto job’ shadows a parameter)

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

[Bug c++/121553] [16 regression] Dolphin fails to build (error: declaration of ‘auto job’ shadows a parameter)

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

[Bug c++/121553] [16 regression] Dolphin fails to build (error: declaration of ‘auto job’ shadows a parameter)

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

[Bug c++/121553] [16 regression] Dolphin fails to build (error: declaration of ‘auto job’ shadows a parameter)

2025-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121553 --- Comment #8 from Marek Polacek --- Pre-P2036, we also warned with -Wshadow. Perhaps the error should be downgraded to a warning?

[Bug c++/121553] [16 regression] Dolphin fails to build (error: declaration of ‘auto job’ shadows a parameter)

2025-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121553 --- Comment #4 from Marek Polacek --- P2036 says that this: [x=1]{ int x; } should be rejected. clang++ warns about this with -Wshadow.

[Bug c++/121553] [16 regression] Dolphin fails to build (error: declaration of ‘auto job’ shadows a parameter)

2025-08-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
|P1 Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org Last reconfirmed||2025-08-14 Ever confirmed|0 |1

[Bug c++/98940] Implement C++23 language features

2025-08-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 102610, which changed state. Bug 102610 Summary: [C++23] P2036R3 - Change scope of lambda trailing-return-type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102610 What|Removed |Added --

[Bug c++/102610] [C++23] P2036R3 - Change scope of lambda trailing-return-type

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

[Bug c++/121500] lambda with deducing this argument by value produces wrong result

2025-08-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
||2025-08-11 Ever confirmed|0 |1 CC||mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- Thanks for filing this bug.

[Bug c++/121445] [13/14/15/16 Regression] ICE in build_data_member_initialization when compiling constexpr constructor with nested non-literal types (C++23)

2025-08-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
|NEW CC||mpolacek at gcc dot gnu.org Keywords||ice-on-valid-code Target Milestone|--- |13.5 --- Comment #1 from Marek Polacek --- Confirmed. An old regression, it seems.

[Bug c++/121433] -Wredundant-move false positive

2025-08-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
|RESOLVED CC||mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- GCC implements CWG 1579 so the conversion to std::optional is OK and the implicit move still kicks in.

[Bug c++/121430] New: [CWG 2745] Dependent odr-use in generic lambdas

2025-08-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- We do not correctly handle the example in [basic.def.odr]/11: ``` void g() { constexpr int x = 1; auto lambda = [] {};// OK lambda.operator()(); // OK

[Bug c++/121428] New: extern and member function definitions

2025-08-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- We should reject the following due to [dcl.stc]/5: The extern specifier shall be applied only to the declaration of a variable or function. The extern specifier shall not be used in

[Bug c++/121325] ICE on pack index in noexcept specifier of generic lambda in requires clause

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

[Bug c++/119838] optional template keyword with global namespace causing error

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

[Bug c++/121008] [16 Regression] Error on 'this' inside noexcept specifier of lambda capturing 'this' inside noexcept specifier

2025-07-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
| CC||jason at gcc dot gnu.org, ||mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Started with r16-1991: commit e9549b5ee8496af12bac3ebfa3ec0aa8487fb725 Author: Jason Merrill

[Bug c++/83469] union is not accepted as a valid class-key in template name resolution

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

[Bug c++/93809] bogus error class tag used in naming union on typedef typename ::U U2

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

[Bug c++/119838] optional template keyword with global namespace causing error

2025-07-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/120667] [12/13/14 Regression] internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.cc:7908

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

[Bug c++/120917] warning: use of 'auto' in template argument only available with '-fconcepts-ts'

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

[Bug tree-optimization/113524] FAIL: gcc.dg/torture/pr113026-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for bogus messages, line 10)

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

[Bug c++/120756] [12/13/14/15/16 Regression] internal compiler error: error reporting routines re-entered with [[deprecated]]

2025-06-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org CC||mpolacek at gcc dot gnu.org

[Bug c++/120783] [C++26] P3491R3 - define_static_{string,object,array}

2025-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
|1 Status|UNCONFIRMED |NEW CC||mpolacek at gcc dot gnu.org

[Bug preprocessor/120778] [C++26] P2843R3 - Preprocessing is never undefined

2025-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
|NEW CC||mpolacek at gcc dot gnu.org Last reconfirmed||2025-06-23

[Bug c++/120775] [C++26] P2996R13 - Reflection

2025-06-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120775 --- Comment #2 from Marek Polacek --- WIP:

[Bug c++/120775] [C++26] P2996R13 - Reflection

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

[Bug c++/120685] [12/13/14/15/16 Regression] GCC Crashes After C++23 auto(t) Warning Instead of Graceful Error

2025-06-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
||2025-06-17 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC||mpolacek at gcc dot gnu.org Target Milestone|--- |12.5 Keywords

[Bug c/117030] [C2y] Implement N3367, More Modern Bit Utilities

2025-06-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117030 --- Comment #5 from Marek Polacek --- Fixed?

[Bug c++/120635] Support something like [[clang::no_specializations]] attribute

2025-06-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
||mpolacek at gcc dot gnu.org Last reconfirmed||2025-06-11 Ever confirmed|0 |1

[Bug cobol/120554] libgcobol meets clang

2025-06-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120554 --- Comment #9 from Marek Polacek --- There's a bug that we don't accept "constexpr S() = default;" in C++23 -- bug 109623.

[Bug c++/120285] [14/15/16 Regression] ice in digest_init_r, at cp/typeck2.cc:1397

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

[Bug c++/120285] [14/15/16 Regression] ice in digest_init_r, at cp/typeck2.cc:1397

2025-05-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
||mpolacek at gcc dot gnu.org Target Milestone|--- |14.3 Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/115645] [12/13/14 Regression] new S[1][1]() requires non-explicit default ctor since r11-3092

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115645 --- Comment #10 from Marek Polacek --- I'm a little nervous about backporting this one.

[Bug c++/117501] [14 Regression] Consteval constructor does not initialize the variable

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

[Bug c++/55004] [meta-bug] constexpr issues

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 117501, which changed state. Bug 117501 Summary: [14 Regression] Consteval constructor does not initialize the variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 What|Removed

[Bug c++/117778] [14 Regression] ICE maybe_add_lambda_conv_op

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

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

2025-05-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118775 --- Comment #9 from Marek Polacek --- On it now.

[Bug c++/120129] Internal Compiler Error (ICE) with decltype(auto) and nested initializer list since r12-6008-g06d5dcef72542b

2025-05-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
dot gnu.org |mpolacek at gcc dot gnu.org Last reconfirmed||2025-05-06 Status|UNCONFIRMED |ASSIGNED --- Comment #4 from Marek Polacek --- Mine then.

[Bug c++/62244] Function parameter should be in scope in its own default argument

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

[Bug c++/119964] [15/16 regression] GCC 15 does not delete explicitly-defaulted move constructor with (const T&&) parameter

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

[Bug c++/113920] Make -std=gnu++20 default for GCC 16

2025-04-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113920 Marek Polacek changed: What|Removed |Added Target Milestone|15.2|---

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

2025-04-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- I believe this should compile: ``` template struct S { using U = T; static const int x = 0; }; void g () { ::S::U a; ::template S::U b; auto c = ::S::x; auto d

[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

[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
||mpolacek at gcc dot gnu.org, ||ppalka at gcc dot gnu.org Priority|P3 |P1 --- Comment #5 from Marek Polacek --- Started with r15-2120: commit 30dd420a06ad7d2adf4a672d176caee632f8168a Author: Patrick Palka

[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
||mpolacek at gcc dot gnu.org Target Milestone|--- |12.5 --- Comment #1 from Marek Polacek --- Started with r10-7816: commit 7fcb93431ef18a31c9af142f77faa176bbd9b3dc Author: Nathan Sidwell Date: Mon Apr 20 06:48:45 2020 -0700 c++: Expr pack expansion

[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

[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
at gcc dot gnu.org |jakub at gcc dot gnu.org CC||mpolacek at gcc dot gnu.org

[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

[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
at gcc dot gnu.org |mpolacek at gcc dot gnu.org CC||mpolacek at gcc dot gnu.org

[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
at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[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
||mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed by r15-8988-g50f8148a2754a1

[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

[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
|1 Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org Last reconfirmed||2025-03-27

[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
at gcc dot gnu.org |mpolacek at gcc dot gnu.org CC||mpolacek at gcc dot gnu.org --- Comment #6 from Marek Polacek --- Fixed by r15-7822.

[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
||mpolacek at gcc dot gnu.org Keywords||error-recovery Last reconfirmed||2025-03-24 Status|UNCONFIRMED |NEW

[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
||mpolacek at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed||2025-03-24 --- Comment #1 from Marek Polacek --- clang++ accepts this with: 119446.C:7:5: warning: declaration does not declare anything [-Wmissing

[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
at gcc dot gnu.org |mpolacek at gcc dot gnu.org --- Comment #8 from Marek Polacek --- Looks like after r15-8011 extend_ref_init_temps_1 doesn't properly call set_up_extended_ref_temp in the TARGET_EXPR case.

[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

[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
|NEW CC||mpolacek at gcc dot gnu.org Last reconfirmed||2025-03-24 --- Comment #1 from Marek Polacek --- Confirmed. clang++ says: 119436.C:10:18: error: member '_box' found in multiple base classes of

[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
||2025-03-20 Status|UNCONFIRMED |NEW CC||mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- The ICE started with r9-4042-ga6bb6b07f76c44: commit a6bb6b07f76c4431cb5a2a520ac33f7c970b80c1 Author

[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
| CC||mpolacek at gcc dot gnu.org, ||ppalka at gcc dot gnu.org --- Comment #3 from Marek Polacek --- Started with r14-9938: commit 081c1e93d56d35c7314ed68e6d87628b430de917 Author: Patrick Palka

[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

[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

[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
|1 Last reconfirmed||2025-03-17 CC||mpolacek at gcc dot gnu.org

[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

[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
at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[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

[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
||template function Priority|P3 |P2 Target Milestone|--- |14.3 CC||jason at gcc dot gnu.org, ||mpolacek at gcc dot

[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

  1   2   3   4   5   6   7   8   9   10   >