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
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 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
ChangeLog-2011 2012-01-09 Richard Guenther <rguenther@suse.de> 2012-01-09 10:11:38 +00:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2013 Rotate ChangeLog for 2013. 2014-06-17 06:55:59 +03:00
ChangeLog-2014 single.c (_gfortran_caf_co_reduce): New function. 2015-01-02 18:42:52 +01:00
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
acinclude.m4 Use -z ignore instead of --as-needed on Solaris 2013-05-24 09:23:33 +00:00
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
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 configure.host (ieee_flags): Add -mieee for alpha*. 2014-07-02 10:45:08 +02:00
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 re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
libtool-version
mk-kinds-h.sh re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
mk-sik-inc.sh
mk-srk-inc.sh