This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR fortran/41459 -- empty label warning


Steve Kargl wrote:
> 2009-09-24  Steven G. Kargl  <kargl@gcc.gnu.org>
>
> 	PR fortran/41459
> 	* gfortran.dg/empty_label.f: New test.
> 	* gfortran.dg/empty_label.f90: Ditto.
> 	* gfortran.dg/warnings_are_errors_1.f: Fix to emit a single warning.
>
> 2009-09-24  Steven G. Kargl  <kargl@gcc.gnu.org>
>
> 	PR fortran/41459
> 	* error.c(gfc_warning_now): Move warnings_are_errors test to 
> 	after actual emitting of the warning.
> 	* parse.c (next_free): Improve error locus printing.
> 	(next_fixed): Change gfc_warn to gfc_warning_now, and improve
> 	locus reporting.
>  
> OK for trunk and 4.4?
>   
OK and thanks for the patch!

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]