[Bug c++/107168] [11/12/13 Regression] Wrong errors for concepts with default lambda not-type argument since r11-3714-gc1c62aec6751678e

2024-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168

Patrick Palka  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED
   Target Milestone|11.5|14.0

--- Comment #4 from Patrick Palka  ---
Backporting is unlikely, the patch is kind of risky and this worked earlier
only by accident.

[Bug c++/107168] [11/12/13 Regression] Wrong errors for concepts with default lambda not-type argument since r11-3714-gc1c62aec6751678e

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168

Andrew Pinski  changed:

   What|Removed |Added

  Known to work||14.0
Summary|[11/12/13/14 Regression]|[11/12/13 Regression] Wrong
   |Wrong errors for concepts   |errors for concepts with
   |with default lambda |default lambda not-type
   |not-type argument since |argument since
   |r11-3714-gc1c62aec6751678e  |r11-3714-gc1c62aec6751678e

--- Comment #3 from Andrew Pinski  ---
Fixed on the trunk for GCC 14 by the recent lambda template patches.

[Bug c++/107168] [11/12/13 Regression] Wrong errors for concepts with default lambda not-type argument since r11-3714-gc1c62aec6751678e

2023-03-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168

Jason Merrill  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #2 from Jason Merrill  ---
The problem here is that
tsubst_lambda_expr->pushtag->maybe_process_template_type_declaration->push_template_decl
fails because processing_template_decl is set but current_template_parms is
not.

[Bug c++/107168] [11/12/13 Regression] Wrong errors for concepts with default lambda not-type argument since r11-3714-gc1c62aec6751678e

2022-10-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168

Martin Liška  changed:

   What|Removed |Added

Summary|Wrong errors for concepts   |[11/12/13 Regression] Wrong
   |with default lambda |errors for concepts with
   |not-type argument   |default lambda not-type
   ||argument since
   ||r11-3714-gc1c62aec6751678e
   Target Milestone|--- |11.5
 Ever confirmed|0   |1
 CC||marxin at gcc dot gnu.org,
   ||ppalka at gcc dot gnu.org
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2022-10-06

--- Comment #1 from Martin Liška  ---
Started with r11-3714-gc1c62aec6751678e.