]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/primary.cc
re PR fortran/67219 (Incorrect conversion warning)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 30 Oct 2016 17:48:27 +0000 (17:48 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 30 Oct 2016 17:48:27 +0000 (17:48 +0000)
commit396e56d2da7935f96f4ca133c359668cc6c98eaf
tree9f87be3a5ce110418b89e042a1508d940257fa15
parente9d33505a09b5503ff8816ae970c47ce30684447
re PR fortran/67219 (Incorrect conversion warning)

2016-10-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/67219
* arith.c (gfc_int2real):  Change gfc_warning_now
to gfc_warning.
* primary.c (match_complex_constant):  If there
is no comma, throw away any warning which might have
been issued by gfc_int2real.

2016-10-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/67219
* gfortran.dg/pr67219.f90:  New test.

From-SVN: r241689
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr67219.f90 [new file with mode: 0644]