gcc/libgfortran
Tobias Burnus d0a4a61c3d re PR fortran/39997 (Procedure(), pointer & implicit typing: rejects-valid / accepts-invalid?)
2010-04-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39997
        * intrinsic.c (add_functions): Add num_images.
        * decl.c (gfc_match_end): Handle END CRITICAL.
        * intrinsic.h (gfc_simplify_num_images): Add prototype.
        * dump-parse-tree.c (show_code_node): Dump CRITICAL, ERROR STOP,
        and SYNC.
        * gfortran.h (gfc_statement): Add enum items for those.
        (gfc_exec_op) Ditto.
        (gfc_isym_id): Add num_images.
        * trans-stmt.c (gfc_trans_stop): Handle ERROR STOP.
        (gfc_trans_sync,gfc_trans_critical): New functions.
        * trans-stmt.h (gfc_trans_stop,gfc_trans_sync,
        gfc_trans_critical): Add/update prototypes.
        * trans.c (gfc_trans_code): Handle CRITICAL, ERROR STOP,
        and SYNC statements.
        * trans.h (gfor_fndecl_error_stop_string) Add variable.
        * resolve.c (resolve_sync): Add function.
        (gfc_resolve_blocks): Handle CRITICAL.
        (resolve_code): Handle CRITICAL, ERROR STOP,
        (resolve_branch): Add CRITICAL constraint check.
        and SYNC statements.
        * st.c (gfc_free_statement): Add new statements.
        * trans-decl.c (gfor_fndecl_error_stop_string): Global variable.
        (gfc_build_builtin_function_decls): Initialize it.
        * match.c (gfc_match_if): Handle ERROR STOP and SYNC.
        (gfc_match_critical, gfc_match_error_stop, sync_statement,
        gfc_match_sync_all, gfc_match_sync_images,
gfc_match_sync_memory):
        New functions.
        (match_exit_cycle): Handle CRITICAL constraint.
        (gfc_match_stopcode): Handle ERROR STOP.
        * match.h (gfc_match_critical, gfc_match_error_stop,
        gfc_match_sync_all, gfc_match_sync_images,
        gfc_match_sync_memory): Add prototype.
        * parse.c (decode_statement, gfc_ascii_statement,
        parse_executable): Handle new statements.
        (parse_critical_block): New function.
        * parse.h (gfc_compile_state): Add COMP_CRITICAL.
        * intrinsic.texi (num_images): Document new function.
        * simplify.c (gfc_simplify_num_images): Add function.

2010-04-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39997
        * gfortran.dg/coarray_1.f90: New test.
        * gfortran.dg/coarray_2.f90: New test.
        * gfortran.dg/coarray_3.f90: New test.

2010-04-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39997
        * runtime/stop.c (error_stop_string): New function.
        * gfortran.map (_gfortran_error_stop_string): Add.

From-SVN: r158008
2010-04-06 18:26:02 +02:00
..
config
generated pack_generic.c (pack_internal): Remove unused zero_sized variable. 2009-11-28 21:29:51 +01:00
intrinsics transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
io PR libfortran/43605 FTELL intrinsic, take 2. 2010-04-01 23:51:45 +03:00
m4 pack_generic.c (pack_internal): Remove unused zero_sized variable. 2009-11-28 21:29:51 +01:00
runtime re PR fortran/39997 (Procedure(), pointer & implicit typing: rejects-valid / accepts-invalid?) 2010-04-06 18:26:02 +02:00
acinclude.m4
aclocal.m4 Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
c99_protos.h re PR fortran/33197 (Fortran 2008: math functions) 2009-07-25 21:39:07 +02:00
ChangeLog re PR fortran/39997 (Procedure(), pointer & implicit typing: rejects-valid / accepts-invalid?) 2010-04-06 18:26:02 +02:00
ChangeLog-2002 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2003 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2004 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2005 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2006 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2007 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2008 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2009 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
config.h.in configure.ac: Check for GFORTRAN_C99_1.1 funcs in OS libm. 2009-09-22 12:23:06 +02:00
configure stdint.m4 (GCC_HEADER_STDINT): Don't typedef uint8_t etc. 2010-01-05 14:02:37 +00:00
configure.ac configure.ac: Check for GFORTRAN_C99_1.1 funcs in OS libm. 2009-09-22 12:23:06 +02:00
configure.host configure.host: Define ieee_flags and set it to -mieee for sh. 2009-07-30 22:56:08 +00:00
fmain.c Add comment saying file is deprecated 2009-08-14 20:54:27 +03:00
gfortran.map re PR fortran/39997 (Procedure(), pointer & implicit typing: rejects-valid / accepts-invalid?) 2010-04-06 18:26:02 +02:00
libgfortran.h transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
libtool-version
Makefile.am backport: re PR fortran/42053 ([OOP] SELECT TYPE: reject duplicate CLASS IS blocks) 2009-11-30 21:43:06 +01:00
Makefile.in Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh