Re: [PATCH, Fortran] Allow warnings given through gfc_error to associate with warning flags

2016-12-27 Thread FX
> 2016-12-27 Jakub Jelinek > > * gfortran.h (gfc_error): Rename overload with OPT argument to... > (gfc_error_opt): ... this. > * error.c (gfc_error): Rename overloads with OPT argument to... > (gfc_error_opt): ... this. Adjust callers. > (gfc_notify_std, gfc_erro

Re: [PATCH, Fortran] Allow warnings given through gfc_error to associate with warning flags

2016-12-27 Thread Jakub Jelinek
On Tue, Nov 01, 2016 at 11:10:39AM -0400, Fritz Reese wrote: > Currently warnings given by the GNU Fortran front-end typically > indicate which flag controls the warning, if any, as given by the > first argument to gfc_warning. However, there is no support for > controlling warnings which are emitt

[PATCH, Fortran] Allow warnings given through gfc_error to associate with warning flags

2016-11-01 Thread Fritz Reese
All, Currently warnings given by the GNU Fortran front-end typically indicate which flag controls the warning, if any, as given by the first argument to gfc_warning. However, there is no support for controlling warnings which are emitted by gfc_error when warnings_not_errors is set. Herein I propo