[C++ PATCH] Rewrite convert_nontype_argument

Jason Merrill jason@redhat.com
Tue Aug 24 15:20:00 GMT 2004


On Wed, 21 Jul 2004 09:32:32 -0700, Mark Mitchell <mark@codesourcery.com> wrote:

> Roger Sayle wrote:
>
>>My hope is that once pointer member functions are given the correct
>>TYPE_MAIN_VARIANT, that this call can be removed.

> The key obstacle to this, by the way, is that the same C++ function type
> is not always the same FUNCTION_TYPE node.  There are at least two things
> included in the FUNCTION_TYPE that are not part of the type -- default
> arguments and exception-specifications.

You can run into the same problem in C with attributes.

Jason



More information about the Gcc-patches mailing list