gcc/libgfortran
Alessandro Fanfarillo 9315dff064 trans.h (caf_sync_memory): New function decl tree.
2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
            Tobias Burnus  <burnus@net-b.de>

        * trans.h (caf_sync_memory): New function decl tree.
        * trans-decl.c (gfc_build_builtin_function_decls): Define it.
        (create_main_function): Don't call sync_synchronize and leave
        it to the CAF library.
        * trans-stmt.c (gfc_trans_stop): Ditto.
        (gfc_trans_sync): Ditto; add call library call for sync memory.

        * gfortran.dg/coarray_sync_memory.f90: New.

        * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
        * caf/single.c (_gfortran_caf_sync_memory): Implement.
        (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
        __asm__ __volatile___ ("":::"memory").


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r221329
2015-03-10 18:58:01 +01:00
..
caf trans.h (caf_sync_memory): New function decl tree. 2015-03-10 18:58:01 +01:00
config Update copyright years. 2015-01-05 13:33:28 +01:00
generated Update copyright years. 2015-01-05 13:33:28 +01:00
ieee Update copyright years. 2015-01-05 13:33:28 +01:00
intrinsics Update copyright years. 2015-01-05 13:33:28 +01:00
io re PR fortran/57822 (I/O: "(g0)" wrongly prints "E+0000") 2015-02-11 04:29:06 +00:00
m4 Update copyright years. 2015-01-05 13:33:28 +01:00
runtime re PR fortran/61933 (Inquire on internal units) 2015-01-15 03:57:29 +00:00
acinclude.m4
aclocal.m4 Add -Werror=implicit-function-declaration to AM_CFLAGS. 2014-09-30 23:05:33 +03:00
c99_protos.h Update copyright years. 2015-01-05 13:33:28 +01:00
ChangeLog trans.h (caf_sync_memory): New function decl tree. 2015-03-10 18:58:01 +01:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014 single.c (_gfortran_caf_co_reduce): New function. 2015-01-02 18:42:52 +01:00
config.h.in PR 47007 and 61847 Locale failures in libgfortran. 2014-11-10 02:17:16 +02:00
configure Add support for a minimal version of libgfortran for accelerator targets. 2014-11-28 17:39:15 +00:00
configure.ac Add support for a minimal version of libgfortran for accelerator targets. 2014-11-28 17:39:15 +00:00
configure.host
fmain.c
gfortran.map f95-lang.c (gfc_init_builtin_functions): Add more floating-point built-ins. 2014-10-09 09:47:25 +00:00
kinds-override.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgfortran.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgfortran.spec.in
libtool-version
Makefile.am Add support for a minimal version of libgfortran for accelerator targets. 2014-11-28 17:39:15 +00:00
Makefile.in Add support for a minimal version of libgfortran for accelerator targets. 2014-11-28 17:39:15 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh