https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67460
--- Comment #9 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Sun Nov 22 19:23:39 2015 New Revision: 230724 URL: https://gcc.gnu.org/viewcvs?rev=230724&root=gcc&view=rev Log: 2015-11-22 Dominique d'Humieres <domi...@lps.ens.fr> Backport from mainline 2015-09-14 Manuel Lopez-Ibanez <m...@gcc.gnu.org> PR fortran/67460 * diagnostic.c (diagnostic_initialize): Do not set some_warnings_are_errors. (diagnostic_finish): Use DK_WERROR count instead. (diagnostic_report_diagnostic): Do not set some_warnings_are_errors. * diagnostic.h (struct diagnostic_context): Remove some_warnings_are_errors. PR fortran/67460 * gfortran.dg/pr67460.f90: New test. --This line, and those M ChangeLog M diagnostic.h M diagnostic.c M testsuite/ChangeLog A testsuite/gfortran.dg/pr67460.f90 Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67460.f90 Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/diagnostic.c branches/gcc-5-branch/gcc/diagnostic.h branches/gcc-5-branch/gcc/testsuite/ChangeLog