Re: [Patch, Fortran] fortran/lang.opt cleanup

2014-11-30 Thread FX
> Regarding gfc_warning, what do you think should we do? > a) Mapping gfc_warning to gfc_warning_now as suggested in > https://gcc.gnu.org/ml/fortran/2014-11/msg00141.html I’m not totally convinced that removing buffer for warnings is safe in all cases. Probably we don’t trigger it in the testsu

Re: [Patch, Fortran] fortran/lang.opt cleanup

2014-11-30 Thread Tobias Burnus
FX wrote: Cool stuff! Thanks for doing this, and OK to commit. FX Thanks for the review. Regarding gfc_warning, what do you think should we do? a) Mapping gfc_warning to gfc_warning_now as suggested in https://gcc.gnu.org/ml/fortran/2014-11/msg00141.html or b) Do actual buffering as in h

Re: [Patch, Fortran] fortran/lang.opt cleanup

2014-11-29 Thread FX
> This patch converts all warnings to Var(), which cleans up options.c quite a > bit and makes it additionally possible to use the OPT_* with common > diagnostics, once gfc_warning is converted. I also remove one -Wall setting > of a warning as it was already enabled by default; additionally, I