This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: PR 9924
Jason Merrill <jason at redhat dot com> writes:
>> This patch fixes PR 9924, a problem with builtins and using
>> declarations.
>>
>> (Remind me again why builtins aren't just marked specially when the
>> function is declared in C++? Since functions can't be called without a
>> prototype in C++, creating all the builtins up front is just an
>> error-prone, wasteful way of getting where we want to get...)
>
> That's my preferred strategy, too, but Roger Sayle seems to have
> disagreed, and he was the one writing the code.
I think the idea is to get all the builtins to be created the same
way, and then change that way so that they're all created lazily.
Right now it's too messy.
zw