Go to file
Tobias Burnus 7f4aaf912b check.c (gfc_check_atomic): Update for STAT=.
gcc/fortran/
2014-07-12  Tobias Burnus  <burnus@net-b.de>

        * check.c (gfc_check_atomic): Update for STAT=.
        (gfc_check_atomic_def, gfc_check_atomic_ref): Update call.
        (gfc_check_atomic_op, gfc_check_atomic_cas,
        gfc_check_atomic_fetch_op): New.
        * gfortran.h (gfc_isym_id): GFC_ISYM_ATOMIC_CAS,
        * GFC_ISYM_ATOMIC_ADD,
        GFC_ISYM_ATOMIC_AND, GFC_ISYM_ATOMIC_OR, GFC_ISYM_ATOMIC_XOR,
        GFC_ISYM_ATOMIC_FETCH_ADD, GFC_ISYM_ATOMIC_FETCH_AND,
        GFC_ISYM_ATOMIC_FETCH_OR and GFC_ISYM_ATOMIC_FETCH_XOR.
        * intrinsic.c (add_subroutines): Handle them.
        * intrinsic.texi: Add documentation for them.
        (ATOMIC_REF, ATOMIC_DEFINE): Add STAT=.
        (ISO_FORTRAN_ENV): Add STAT_FAILED_IMAGE.
        * intrinsic.h (gfc_check_atomic_op, gfc_check_atomic_cas,
        gfc_check_atomic_fetch_op): New
        prototypes.
        * libgfortran.h (libgfortran_stat_codes): Add
        * GFC_STAT_FAILED_IMAGE.
        * iso-fortran-env.def: Add it.
        * trans-intrinsic.c (conv_intrinsic_atomic_op): Renamed from
        conv_intrinsic_atomic_ref; handle more atomics.
        (conv_intrinsic_atomic_def): Handle STAT=.
        (conv_intrinsic_atomic_cas): New.
        (gfc_conv_intrinsic_subroutine): Handle new atomics.

gcc/testsuite/
2014-07-12  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/coarray_atomic_1.f90: Update dg-error.
        * gfortran.dg/coarray_atomic_2.f90: New.
        * gfortran.dg/coarray_atomic_3.f90: New.
        * gfortran.dg/coarray_atomic_4.f90: New.
        * gfortran.dg/coarray/atomic_2.f90: New.

From-SVN: r212483
2014-07-12 21:00:47 +02:00
boehm-gc Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00
config Fix include path for in-tree cloog. 2014-06-23 19:15:16 +00:00
contrib * gennews: Use gcc-3.0/index.html. 2014-06-28 21:08:21 +00:00
fixincludes
gcc check.c (gfc_check_atomic): Update for STAT=. 2014-07-12 21:00:47 +02:00
gnattools
include [PR lto/61334] Declare prototype for strnlen, if needed. 2014-06-10 11:45:00 +02:00
INSTALL
intl
libada
libatomic Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags. 2014-06-17 22:43:18 +02:00
libbacktrace
libcilkrts config.gcc (*-*-dragonfly*): New target. 2014-05-21 12:08:58 +01:00
libcpp re PR preprocessor/61389 (libcpp diagnostics shouldn't talk about ISO C99 for C++ input files) 2014-07-11 14:49:27 +00:00
libdecnumber
libffi Normalize interface for all *-dg-runtest. 2014-07-04 07:28:17 +02:00
libgcc libgcov-util.c (gcov_max_filename): Fix declartion. 2014-07-11 17:02:18 +00:00
libgfortran fpu-*.h (get_fpu_rounding_mode, [...]): Clean up, mark unreachable code as such. 2014-07-10 08:45:38 +00:00
libgo runtime: Merge master revision 19185. 2014-07-12 00:01:09 +00:00
libgomp re PR c/6940 (taking sizeof array parameter should trigger a warning) 2014-07-06 19:00:10 +00:00
libiberty Delete temporary string within demangler even in failure cases. 2014-06-11 10:57:27 +00:00
libitm Centralise clearing hardware capabilities with Sun ld 2014-05-28 11:32:54 +00:00
libjava libffi.exp (load_gcc_lib): Register loaded libs. 2014-05-20 08:20:06 +00:00
libobjc
libquadmath
libsanitizer sanitizer_common_interceptors.inc: Cherry pick upstream r211008. 2014-06-23 19:03:07 +00:00
libssp
libstdc++-v3 Add the logistic_distribution as an extension. 2014-07-12 01:32:20 +00:00
libvtv
lto-plugin Allow overriding the libiberty used for building the LTO plugin. 2014-06-13 16:30:46 +02:00
maintainer-scripts crontab: Remove 4.7 snapshot entry. 2014-06-12 11:57:33 +00:00
zlib
.dir-locals.el
.gitignore Ignore gcc_update output 2014-06-18 17:47:18 -07:00
ABOUT-NLS
ChangeLog Don't accept isl 0.10. 2014-07-05 20:18:14 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile
config-ml.in * config-ml.in: Robustify ac_configure_args parsing. 2014-06-13 16:32:29 +02:00
config.guess
config.rpath
config.sub
configure Don't accept isl 0.10. 2014-07-05 20:18:14 +00:00
configure.ac Don't accept isl 0.10. 2014-07-05 20:18:14 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS * MAINTAINERS: Update my email address. 2014-07-01 01:46:57 +00:00
Makefile.def Non-host system configuration for linker plugins. 2014-06-13 16:32:16 +02:00
Makefile.in Non-host system configuration for linker plugins. 2014-06-13 16:32:16 +02:00
Makefile.tpl Allow for overriding a module's srcdir. 2014-06-13 16:32:03 +02:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.