aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2011-06-08 08:28:41 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2011-06-08 08:28:41 +0200
commit5493aa17a2da3923ee306b413ada64cc09549e74 (patch)
tree2bbcfee69dbbc562c058ffd1078f6f90732ef100 /libobjc
parentc2bbcb0db139ca738743376d429b0745a9b684d8 (diff)
downloadgcc-5493aa17a2da3923ee306b413ada64cc09549e74.zip
gcc-5493aa17a2da3923ee306b413ada64cc09549e74.tar.gz
gcc-5493aa17a2da3923ee306b413ada64cc09549e74.tar.bz2
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
2011-06-08 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.h (gfc_statement): Add ST_LOCK and ST_UNLOCK. (gfc_exec_op): Add EXEC_LOCK and EXEC_UNLOCK. (gfc_code): Add expr4. * match.h (gfc_match_lock, gfc_match_unlock): New prototypes. * match.c (gfc_match_lock, gfc_match_unlock, lock_unlock_statement): New functions. (sync_statement): Bug fix, avoiding double freeing. (gfc_match_if): Handle LOCK/UNLOCK statement. * parse.c (decode_statement, next_statement, gfc_ascii_statement): Ditto. * st.c (gfc_free_statement): Handle LOCK and UNLOCK. * resolve.c (resolve_lock_unlock): New function. (resolve_code): Call it. * dump-parse-tree.c (show_code_node): Handle LOCK/UNLOCK. * frontend-passes.c (gfc_code_walker): Optimize gfc_code's expr4. 2011-06-08 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.dg/coarray_lock_1.f90: New. * gfortran.dg/coarray_lock_2.f90: New. From-SVN: r174796
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions