[Bug c++/97050] ICE with segfault in lambda overload resolution

2021-10-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97050

Patrick Palka  changed:

   What|Removed |Added

   Target Milestone|--- |11.0
 Status|NEW |RESOLVED
 Resolution|--- |FIXED
 CC||ppalka at gcc dot gnu.org

--- Comment #4 from Patrick Palka  ---
Fixed in GCC 11+ by r11-8065.

[Bug c++/97050] ICE with segfault in lambda overload resolution

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97050

Andrew Pinski  changed:

   What|Removed |Added

  Known to fail||10.3.0
  Known to work||11.1.0

--- Comment #3 from Andrew Pinski  ---
Looks fixed in GCC 11.

[Bug c++/97050] ICE with segfault in lambda overload resolution

2020-09-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97050

--- Comment #2 from Marek Polacek  ---
Reduced:

namespace a {
template  constexpr bool f = __is_same_as(d, e);
}
struct g {};
struct h;
template  auto operator+(i, j) {
  auto k = [](auto l) requires a::f{};
  return k;
}
void m() {
  struct n {
  } b;
  n c;
  auto o = b + c;
  a::f;
}

[Bug c++/97050] ICE with segfault in lambda overload resolution

2020-09-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97050

Marek Polacek  changed:

   What|Removed |Added

   Last reconfirmed||2020-09-14
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
 CC||mpolacek at gcc dot gnu.org
   Keywords||ice-on-valid-code
Version|og10 (devel/omp/gcc-10) |11.0

--- Comment #1 from Marek Polacek  ---
Confirmed.