Hi,
On 08/22/2014 12:01 AM, Manuel López-Ibáñez wrote:
On 21 August 2014 23:35, Jason Merrill <ja...@redhat.com> wrote:
On 08/21/2014 04:22 PM, Manuel López-Ibáńez wrote:
+ && TREE_CODE (x) != FUNCTION_DECL
+ && !FUNCTION_POINTER_TYPE_P (TREE_TYPE (x))))
How about pointer to member function?
Maybe like this? BTW, I did not actually want to include the
gcc_assert(), it was just a sanity check, thus I deleted it from this
patch.
Note by the way, that this patch would introduce the *first* use of
FUNCTION_POINTER_TYPE_P in the C++ front-end. Are we sure we want to use
that vs TYPE_PTRFN_P?!? At the moment I'm a bit tired by I seem to
remember subtleties in this area...
Paolo.