http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60002

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think the problem is in build_function_decl_skip_args removing various
arguments for a clone, but DECL_LANG_SPECIFIC being copied rather than thrown
away.  While it takes care to change METHOD_TYPE into FUNCTION_TYPE if the
first parameter is being removed, in this case it is preserved, but other
parameters removed, and whether they must be there or not is recorded in
DECL_LANG_SPECIFIC.

Reply via email to