This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: Add ifunc attribute
On Fri, Jun 26, 2009 at 8:04 AM, Paolo Bonzini<email@example.com> wrote:
>> static int
>> foo1 (int x)
>> ?return x;
>> __attribute__ ((ifunc))
>> foo (int)
>> ?return foo1;
>> bar (int i)
>> ?return foo (i);
>> supports C++ since we use the same prototype for ifunc function.
>> The mangled name is the same.
> This feels too wrong. ?The prototypes are magically changed beyond
> what any other attribute does. ?Look at what Roland posted.
How do you propose to support C++?