diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-11-17 17:49:45 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-11-17 17:49:45 +0000 |
commit | 2b77e908124cefa480e1e3143c57b4fc3e353da0 (patch) | |
tree | 267c805c4f889eb005138028072b31606dfc71d5 /gcc/java/constants.c | |
parent | a0857153ddb27ba0f64a16c934734421fd2fccfc (diff) | |
download | gcc-2b77e908124cefa480e1e3143c57b4fc3e353da0.zip gcc-2b77e908124cefa480e1e3143c57b4fc3e353da0.tar.gz gcc-2b77e908124cefa480e1e3143c57b4fc3e353da0.tar.bz2 |
re PR fortran/25252 (ICE on invalid code)
PR fortran/25252
* interface.c (gfc_current_interface_head,
gfc_set_current_interface_head): New functions.
* decl.c (gfc_match_modproc): Move check for syntax error earlier.
On syntax error, restore previous state of the interface.
* gfortran.h (gfc_current_interface_head,
gfc_set_current_interface_head): New prototypes.
* gfortran.dg/interface_22.f90: New test.
From-SVN: r130259
Diffstat (limited to 'gcc/java/constants.c')
0 files changed, 0 insertions, 0 deletions