[fortran, patch] reduce noise of -Wconversion

Daniel Franke franke.daniel@gmail.com
Sat May 8 17:16:00 GMT 2010


Hi all.

attached patch attempts to reduce amount of noise generated by -Wconversion.


gcc/fortran/:
2010-05-08  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/27866
	PR fortran/35003
	PR fortran/42809
	* intrinc.c (gfc_convert_type_warn): Be more dicriminative
	about conversion warnings.

gcc/testsuite/:
2010-05-08  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/27866
	PR fortran/35003
	PR fortran/42809
	* gfortran.dg/array_constructor_type_17.f03: Updated match string.
	* gfortran.dg/warn_conversion.f90: New.


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

	Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn_conversion.diff
Type: text/x-patch
Size: 2825 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100508/a51a4a4e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn_conversion.f90
Type: text/x-fortran
Size: 1733 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100508/a51a4a4e/attachment-0001.bin>


More information about the Fortran mailing list