Re: [C++ PATCH] Fix deleted fn handling (PR c++/92447)

2019-11-11 Thread Jason Merrill
OK, thanks. On Mon, Nov 11, 2019 at 3:14 PM Jakub Jelinek wrote: > Hi! > > The finish_function change to goto cleanup; on DECL_DELETED_FN added > in the spaceship commit broke the following testcase. > The problem is that during start_preparsed_function push_nested_class > pushes a scope, but as

[C++ PATCH] Fix deleted fn handling (PR c++/92447)

2019-11-11 Thread Jakub Jelinek
Hi! The finish_function change to goto cleanup; on DECL_DELETED_FN added in the spaceship commit broke the following testcase. The problem is that during start_preparsed_function push_nested_class pushes a scope, but as ctype is kept NULL when goto cleanup; crosses the setting of ctype to somethin