aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/parse.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2012-03-28 20:45:16 +0000
committerPaul Thomas <pault@gcc.gnu.org>2012-03-28 20:45:16 +0000
commitb59e90711fdd29e707a9a071f14efdaee7d70d1a (patch)
tree9f2a72800c06dbd5712fa0b41c9af5c638df17a1 /gcc/fortran/parse.c
parent32e8bfc3f649f51969aa3ca63df162df25f5b9c8 (diff)
downloadgcc-b59e90711fdd29e707a9a071f14efdaee7d70d1a.zip
gcc-b59e90711fdd29e707a9a071f14efdaee7d70d1a.tar.gz
gcc-b59e90711fdd29e707a9a071f14efdaee7d70d1a.tar.bz2
re PR fortran/52652 (call to gfc_match_asynchronous for allocatable at parse.c line 164)
2012-03-28 Paul Thomas <pault@gcc.gnu.org> Tobias Burnus <burnus@gcc.gnu.org> PR fortran/52652 * match.c (gfc_match_allocate, gfc_match_deallocate): Change "not.. or" to "neither.. nor". * parse.c (decode_specification_statement): Correct error in chpice of matching function for "allocatable". 2012-03-28 Paul Thomas <pault@gcc.gnu.org> Tobias Burnus <burnus@gcc.gnu.org> PR fortran/52652 * gfortran.dg/allocate_class_1.f90 : Change error test. * gfortran.dg/allocate_with_typespec_4.f90 : Change error test. * gfortran.dg/allocate_alloc_opt_1.f90 : Change error test. * gfortran.dg/deallocate_alloc_opt_1.f90 : Change error test. Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org> From-SVN: r185924
Diffstat (limited to 'gcc/fortran/parse.c')
-rw-r--r--gcc/fortran/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c
index 317fb84..4e7f691 100644
--- a/gcc/fortran/parse.c
+++ b/gcc/fortran/parse.c
@@ -161,7 +161,7 @@ decode_specification_statement (void)
case 'a':
match ("abstract% interface", gfc_match_abstract_interface,
ST_INTERFACE);
- match ("allocatable", gfc_match_asynchronous, ST_ATTR_DECL);
+ match ("allocatable", gfc_match_allocatable, ST_ATTR_DECL);
match ("asynchronous", gfc_match_asynchronous, ST_ATTR_DECL);
break;