r268479 - in /branches/gcc-7-branch/gcc: fortra...

tkoenig@gcc.gnu.org tkoenig@gcc.gnu.org
Sat Feb 2 17:07:00 GMT 2019


Author: tkoenig
Date: Sat Feb  2 17:07:40 2019
New Revision: 268479

URL: https://gcc.gnu.org/viewcvs?rev=268479&root=gcc&view=rev
Log:
2019-02-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/88298
	Backport from trunk
	* arith.c (gfc_int2int): Do not warn if src->do_not_warn is set.
	* gfortran.h (gfc_expr): Add flag do_not_warn.
	* intrinsic.c (gfc_convert_type_warn): Set expr->do_not_warn if
	no warning is desired.

2019-02-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/88298
	Backport from trunk
	* gfortran.dg/warn_conversion_10.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/warn_conversion_10.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/arith.c
    branches/gcc-7-branch/gcc/fortran/gfortran.h
    branches/gcc-7-branch/gcc/fortran/intrinsic.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list