]> gcc.gnu.org Git - gcc.git/commit
PR fortran/85796 - Floating point exception with implied do
authorHarald Anlauf <anlauf@gmx.de>
Wed, 25 Nov 2020 19:20:44 +0000 (20:20 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 25 Nov 2020 19:20:44 +0000 (20:20 +0100)
commit94172dc7091a2c6b2d2f99857de77c607fac3935
treeef16798307cc1e140a5e68a5fbda91a39c7d854c
parent1049e5408fa343b5bf0a6380212a8ec8dfe2b6fc
PR fortran/85796 - Floating point exception with implied do

Catch invalid step=0 in implied do loop within data statements.

gcc/fortran/ChangeLog:

PR fortran/85796
* resolve.c (traverse_data_list): Fix copy&paste errors; catch
step=0 in implied do loop.

gcc/testsuite/ChangeLog:

PR fortran/85796
* gfortran.dg/pr85796.f90: New test.
gcc/fortran/resolve.c
gcc/testsuite/gfortran.dg/pr85796.f90 [new file with mode: 0644]
This page took 0.075205 seconds and 6 git commands to generate.