A Warning is a warning, diagnostics DTRT. Cosmetic correction from fallout for
fix for PR21061. See ML-archives for details on why this hunk is wrong but
still harmless in effect.
2007-12-16 Bernhard Fischer <aldot@gcc.gnu.org>
* errors.c (gfc_notify_std): As originally stated but improperly
changed, disregard warnings_are_errors for deciding which buffer
to use for warnings.
From-SVN: r130990
+2007-12-16 Bernhard Fischer <aldot@gcc.gnu.org>
+
+ * errors.c (gfc_notify_std): As originally stated but improperly
+ changed, disregard warnings_are_errors for deciding which buffer
+ to use for warnings.
+
2007-12-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31213
if (gfc_suppress_error)
return warning ? SUCCESS : FAILURE;
- cur_error_buffer = (warning && !warnings_are_errors)
- ? &warning_buffer : &error_buffer;
+ cur_error_buffer = warning ? &warning_buffer : &error_buffer;
cur_error_buffer->flag = 1;
cur_error_buffer->index = 0;