re PR fortran/17229 (parser confused by arithmetic if inside an if)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Fri, 8 Apr 2005 10:56:59 +0000 (12:56 +0200)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 8 Apr 2005 10:56:59 +0000 (10:56 +0000)
commit43e1c5f7205aa500b7ce2d21c51aff439d86704b
tree5eaf3ff77e851b8c3bc1b44dda144967413a2c86
parent66beb87a64238f7bc90dbfa6311d2b2faa10845e
re PR fortran/17229 (parser confused by arithmetic if inside an if)

PR fortran/17229

* match.c (gfc_match_arithmetic_if): New function to match an
arithmetic IF statement.
(gfc_match_if): Use gfc_match_arithmetic_if to match an
arithmetic IF statement embedded in a simple IF statement.

* gfortran.dg/pr17229.f: New test.

From-SVN: r97825
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr17229.f [new file with mode: 0644]