[PATCH diagnostics/67460] Replace some_warnings_are_errors with diagnostic_kind_count (context, DK_WERROR)

Bernd Schmidt bschmidt@redhat.com
Mon Sep 14 18:22:00 GMT 2015


On 09/14/2015 01:45 AM, Manuel López-Ibáñez wrote:
> The flag diagnostic_context::some_warnings_are_errors controls whether
> to give the message "all warnings being treated as errors". However, when
> warnings are buffered and then discarded, this flag is not reset. It turns
> out we do not need this flag at all, since we already count explicitly how
> many warnings were converted into errors, and this number is kept up to
> date for the buffered diagnostics used by Fortran.

Ok.


Bernd



More information about the Gcc-patches mailing list