https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88122

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually no, I think the const_p computation is ok, it is only relevant for
const vs. non-const copy ctor or const vs. non-const copy assignment, right?
So I think my patch is the right thing here.
E.g. copy_fn_p also returns 0 early if FUNCTION_FIRST_USER_PARMTYPE is NULL.

Reply via email to