This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: move flag_debug_compare out of diagnostics.c
PING: either the original patch
http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00819.html
or a new one using inhibit_notes + inhibit_warnings.
On 21 February 2010 20:21, Manuel López-Ibáñez <lopezibanez@gmail.com> wrote:
> On 21 February 2010 19:44, Paolo Bonzini <bonzini@gnu.org> wrote:
>>>
>>> Warnings are silenced by other means (gcc.c adds -w)
>>
>> Something like this is better handled the same as notes. ?What about
>> something like Manuel's second patch but with inhibit_nonfatal_p?
>
> Actually, inhibit_warnings could be handled the same way as
> inhibit_notes and not a global variable. I would prefer that approach.
> If some MAINTAINER approves of that approach, I will write the patch,
> but I am tired of blindly writing prototypes.
>
> Manuel.
>