[patch, fortran] Further improve -Wconversion

Tobias Burnus burnus@net-b.de
Wed Jun 9 17:53:00 GMT 2010


Daniel Franke wrote:
> After the changes with -Wconversion, I found a source file that generates 
> about 50.000 lines of conversion warnings if compiled with -Wall. A tad 
> excessive.
>   

;-)

> Regression tested on i686-pc-linux-gnu.
> Ok for trunk?
>   

OK. Thanks for the patch.

Tobias

PS: GCC is getting a new patch tracker, cf.
http://gcc.gnu.org/ml/gcc/2010-06/msg00332.html
It is currently not contiguously updated and the planned auto-removal
after committal is also missing. But in future, it should make it easier
to track unreviewed/uncommitted patches.

> gcc/fortran/:
> 2010-05-19  Daniel Franke  <franke.daniel@gmail.com>
>
> 	* intrinsic.c (gfc_convert_type_warn): Further improve checking if
> 	a warning is required.
>
> gcc/testsuite/:
> 2010-05-19  Daniel Franke  <franke.daniel@gmail.com>
>
> 	* gfortran.dg/warn_conversion.f90: Removed check for redundant
> 	warning.
> 	* gfortran.dg/warn_conversion_2.f90: Use non-constant expression to
> 	check for warning.
>   



More information about the Fortran mailing list