Hi Steve, > The attach patch silences -Wconversion and -Wconversion-extra > warnings that had previously been issued for explicit conversions > (see testcase for examples). > > The patch has been tested on x86-*-freebsd. OK to commit? > > 2019-10-03 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/91497 > * simplify.c (gfc_simplify_dble, simplify_intconv, gfc_simplify_real, > gfc_simplify_sngl): Disable -Wconversion and -Wconversion-extra > warnings for explicit conversion of literal constants. > > 2019-10-03 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/91497 > * gfortran.dg/pr91497.f90: New test.
the new testcases FAILs on sparc and a couple of other targets: +FAIL: gfortran.dg/pr91497.f90 -O (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/pr91497.f90:13:13: Error: Old-style type declaration REAL*10 not supported at (1) /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/pr91497.f90:20:30: Error: Invalid real kind 10 at (1) /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/pr91497.f90:55:22: Error: Invalid kind for REAL at (1) Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University