[Bug c++/86943] [7/8/9 Regression] Wrong code when converting stateless generic lambda to function pointer
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 4 17:05:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86943
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
pt.c calls here:
ret = (build_new_method_call
(instance, fn,
&call_args, NULL_TREE,
qualified_p ? LOOKUP_NONVIRTUAL : LOOKUP_NORMAL,
/*fn_p=*/NULL,
complain));
and doesn't in any way tell it that CALL_FROM_THUNK_P (t) is true and that it
should avoid some or all? argument conversions. Or shall it call a different
function in that case instead?
In any case, not working on this PR anymore.
More information about the Gcc-bugs
mailing list