[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

2020-04-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93597

Marek Polacek  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Marek Polacek  ---
Fixed on 9 too.

[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

2020-04-05 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93597

--- Comment #7 from CVS Commits  ---
The releases/gcc-9 branch has been updated by Marek Polacek
:

https://gcc.gnu.org/g:6db837a5288ee3ca5ec504fbd5a765817e556ac2

commit r9-8456-g6db837a5288ee3ca5ec504fbd5a765817e556ac2
Author: Marek Polacek 
Date:   Sun Apr 5 20:31:56 2020 -0400

c++: Fix ICE with lambda in operator function [PR93597]

If we are going to use get_first_fn let's make sure we operate on
is_overloaded_fn, as the rest of the codebase does, and if lookup finds
any class-scope declaration, return early too.

PR c++/93597 - ICE with lambda in operator function.
* name-lookup.c (maybe_save_operator_binding): Check
is_overloaded_fn.

* g++.dg/cpp0x/lambda/lambda-93597.C: New test.

[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

2020-04-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93597

--- Comment #6 from Marek Polacek  ---
Yes, will do it today, thanks.

[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

2020-04-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93597

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #5 from Martin Liška  ---
@Marek: Can you please do the backport?

[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93597

Richard Biener  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED
Summary|[10 Regression] ICE in  |[9 Regression] ICE in
   |get_fns since r10-6219  |get_fns since r10-6219
   Target Milestone|10.0|9.4

--- Comment #4 from Richard Biener  ---
r10-6219-g8b91e848130e45b427599ad30e99f96e447ea9aa was backported and now this
fails on the branch as well.  (in future make sure to add appropriate Blocks)