On Mon, Nov 13, 2017 at 9:51 AM, Jeff Law <l...@redhat.com> wrote: > On 11/13/2017 01:30 AM, Richard Biener wrote: > >>> Huh, that bites. Im surprised we don't just make those places produce a >>> cast, or just introduce an explicit cast of the (void *)0 during the >>> expression building process. >> >> I'm quite sure we could relax the above now given we have gimple_call_fntype >> to preserve the original function type. But I don't remember what broke and >> exactly why on those pesky fn descriptor targets. These days I only know >> about IA64. > It could well have been a PA-ism at the time. I can recall looking at > some of this stuff, but none of the details.
AIX and PPC64 BE Linux also use function descriptors. - David