On 01/18/2016 11:01 AM, Jerry DeLisle wrote:
> This patch follows the suggestion Jakub made in the PR and is very 
> straightforward.
> 

The patch is simple enough.  I will commit to trunk shortly if I hear from no 
one.

Regards,

Jerry

> With the patch, an abort is given on actual errors, in agreement with the
> documentation for -dH.
> (Yes, not very useful, but we can clear this PR)
> 
> Buffered errors bypass this abort by saving and restoring the state.
> 
> Regression tested on x86-64-linux.
> 
> OK for trunk and then back port to 5 in about a week?
> 
> A test case will be included, similar to that given by Dominique in the PR.
> 
> Regards,
> 
> Jerry
> 
> 2016-01-18  Jerry DeLisle  <jvdeli...@gcc.gnu.org>
> 
>       PR fortran/65996
>       * error.c (gfc_error): Save the state of abort_on_error and set
>       it to false for buffered errors to allow normal processing.
>       Restore the state before leaving.
> 

Reply via email to