This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Update pass manager to handle generate_summary/transform functions
"Rafael Espindola" <espindola@google.com> writes:
>> Why is it necessary to set input_location before calling this warning?
>> The warning uses %H anyhow.
>
> Because with the patch it uses input_location to find out if we are in
> a system header or not.
Ah. That seems problematic. I don't want changing input_location to
be a standard approach. If anything, that seems like a step backward.
I would prefer to see some sort of change to the diagnostic machinery.
Ian