2020-8-20 José Rui Faustino de Sousa <jrfsousa@gmail.com>
authorJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
Sun, 30 Aug 2020 17:58:13 +0000 (17:58 +0000)
committerJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
Sun, 30 Aug 2020 17:58:13 +0000 (17:58 +0000)
commit8f7d99acf6d94eed6a7f9b9f76bd4c2243c660b2
tree33894bf7bf7f7f44eea7123a6cf8d1a87178bd93
parentcd49b7067893b548a10c99ea0cb6aba2977eef2e
2020-8-20  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

gcc/fortran/ChangeLog:

PR fortran/96726
* expr.c (check_references): Change different relational operator
to less-than operator to avoid infinite loop.

gcc/testsuite/ChangeLog:

PR fortran/96726
* gfortran.dg/PR96726.f90: New test.
gcc/fortran/expr.c
gcc/testsuite/gfortran.dg/PR96726.f90 [new file with mode: 0644]