diff options
author | Tobias Burnus <burnus@net-b.de> | 2010-01-08 10:23:26 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2010-01-08 10:23:26 +0100 |
commit | 1eee5628bd63cd0d6d58700f06f431570db29de0 (patch) | |
tree | 422915f53f5c95d2a683bd9a849b37b940093dec /gcc/fortran/parse.c | |
parent | 4e98c66c4fa2d8f4cb09d589ad909895eb247880 (diff) | |
download | gcc-1eee5628bd63cd0d6d58700f06f431570db29de0.zip gcc-1eee5628bd63cd0d6d58700f06f431570db29de0.tar.gz gcc-1eee5628bd63cd0d6d58700f06f431570db29de0.tar.bz2 |
re PR fortran/25829 ([F03] Asynchronous IO support)
2010-01-08 Tobias Burnus <burnus@net-b.de
PR/fortran 25829
* symbol.c (check_conflict, gfc_copy_attr): Add
ASYNCHRONOUS support.
(gfc_add_asynchronous): New function.
* decl.c (match_attr_spec): Add ASYNCHRONOUS support.
(gfc_match_asynchronous): New function.
* dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
* gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
(gfc_add_asynchronous): New Prototype.
* module.c (ab_attribute, mio_symbol_attribute): Add
ASYNCHRONOUS support.
* resolve.c (was_declared): Ditto.
* match.h (gfc_match_asynchronous): New prototype.
* parse.c (decode_specification_statement,decode_statement):
Add ASYNCHRONOUS support.
2010-01-08 Tobias Burnus <burnus@net-b.de
PR/fortran 25829
* gfortran.dg/asynchronous_1.f90: New test.
* gfortran.dg/asynchronous_2.f90: New test.
* gfortran.dg/conflicts.f90: Update error message.
From-SVN: r155732
Diffstat (limited to 'gcc/fortran/parse.c')
-rw-r--r-- | gcc/fortran/parse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index 98d684f..8f7ec29 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -129,6 +129,8 @@ decode_specification_statement (void) case 'a': match ("abstract% interface", gfc_match_abstract_interface, ST_INTERFACE); + match ("allocatable", gfc_match_asynchronous, ST_ATTR_DECL); + match ("asynchronous", gfc_match_asynchronous, ST_ATTR_DECL); break; case 'b': @@ -328,6 +330,7 @@ decode_statement (void) match ("allocate", gfc_match_allocate, ST_ALLOCATE); match ("allocatable", gfc_match_allocatable, ST_ATTR_DECL); match ("assign", gfc_match_assign, ST_LABEL_ASSIGNMENT); + match ("asynchronous", gfc_match_asynchronous, ST_ATTR_DECL); break; case 'b': |