This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Support non-standard extension (call via casted function pointer)


On Tue, Jan 26, 2016 at 9:54 PM, Michael Karcher
<debian@mkarcher.dialup.fu-berlin.de> wrote:
> On 26.01.2016 21:47, Richard Biener wrote:
>>>> So, hookize and change to
>>>>
>>>>   if (outgoing && POINTER_TYPE_P (TREE_TYPE (TREE_TYPE (func))))
>>>>     ...
>>>>   else if (POINTER_TYPE_P (valtype))
>>>>    ...
>>>>  else
>>>>    ...
>>> Looks good and clean to me, but I expect my patch to have the same
>>> effect.
>> I would still prefer the more obvious approach of using the target hook transition.
> I intended to express in my last email: Me too, and I will prepare a
> patch with a target hook if there is consensus that this patch can be
> accepted. I do not want the current patch committed as-is, I just posted
> it to get the idea across and start discussion.

Yes, I think such patch would be accepted.

Richard.

> Regards,
>   Michael Karcher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]