Go to file
Torvald Riegel 969a32ce93 Fix __atomic to not implement atomic loads with CAS.
gcc/
	* builtins.c (fold_builtin_atomic_always_lock_free): Make "lock-free"
	conditional on existance of a fast atomic load.
	* optabs-query.c (can_atomic_load_p): New function.
	* optabs-query.h (can_atomic_load_p): Declare it.
	* optabs.c (expand_atomic_exchange): Always delegate to libatomic if
	no fast atomic load is available for the particular size of access.
	(expand_atomic_compare_and_swap): Likewise.
	(expand_atomic_load): Likewise.
	(expand_atomic_store): Likewise.
	(expand_atomic_fetch_op): Likewise.
	* testsuite/lib/target-supports.exp
	(check_effective_target_sync_int_128): Remove x86 because it provides
	no fast atomic load.
	(check_effective_target_sync_int_128_runtime): Likewise.

libatomic/
	* acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
	* auto-config.h.in: Regenerate.
	* config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
	(atomic_compare_exchange_n): New.
	* glfree.c (EXACT, LARGER): Change condition and add comments.

From-SVN: r245098
2017-02-01 17:21:59 +00:00
config ChangeLog: Fix relative path in my entry. 2017-01-26 17:50:50 +01:00
contrib update-copyright.py: Retain original file mode 2017-01-30 15:31:59 +01:00
fixincludes re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
gcc Fix __atomic to not implement atomic loads with CAS. 2017-02-01 17:21:59 +00:00
gnattools
gotools libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
include Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
INSTALL
intl config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libada re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
libatomic Fix __atomic to not implement atomic loads with CAS. 2017-02-01 17:21:59 +00:00
libbacktrace Update copyright years. 2017-01-01 13:07:43 +01:00
libcc1 Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcilkrts re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-20 09:27:29 +01:00
libcpp * de.po, eo.po: Update. 2017-01-31 00:50:29 +00:00
libdecnumber re PR rtl-optimization/79003 (r238991 breaks ODR) 2017-01-08 17:43:30 +01:00
libffi re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-21 09:47:11 +01:00
libgcc op-common.h (_FP_MUL, [...]): Add /* FALLTHRU */ comments. 2017-01-24 23:32:30 +01:00
libgfortran re PR fortran/79305 (real128 - undefined reference to cexpl) 2017-01-31 18:50:31 +00:00
libgo libgo: update to go1.8rc3 2017-01-27 15:01:57 +00:00
libgomp libgomp: Provide prototypes for functions implemented by libgomp plugins 2017-01-31 15:32:58 +01:00
libhsail-rt configure.tgt: Fix i?86-*-linux* entry. 2017-02-01 08:56:49 +01:00
libiberty Fix PR70182 -- missing "on" in mangling of unresolved operators 2017-01-18 08:49:11 +00:00
libitm re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-21 09:47:11 +01:00
libmpx * mpxrt/mpxrt-utils.h (__mpxrt_stop): New prototype. 2017-01-30 15:26:24 +01:00
libobjc re PR libobjc/78697 (--with-target-bdw-gc-include shouldn't be required to be per multilib) 2017-01-18 15:48:54 +00:00
liboffloadmic libgomp: Provide prototypes for functions implemented by libgomp plugins 2017-01-31 15:32:58 +01:00
libquadmath re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
libsanitizer s390.c (s390_asan_shadow_offset): New function. 2017-01-31 14:50:20 +01:00
libssp re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
libstdc++-v3 PR78346 make <bits/predefined_ops.h> handle stashing iterators 2017-02-01 12:57:35 +00:00
libvtv re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-21 09:47:11 +01:00
lto-plugin re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
maintainer-scripts
zlib 2017-01-22 Matthias Klose <doko@ubuntu.com> 2017-01-22 18:07:04 +00:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ChangeLog [brigfe] Small fixes 2017-01-27 15:35:07 +01:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
config.guess config.guess: Import latest version. 2016-11-25 08:38:27 +11:00
config.rpath
config.sub * config.sub: Import latest version. 2016-12-29 22:04:53 +11:00
configure [brigfe] Small fixes 2017-01-27 15:35:07 +01:00
configure.ac [brigfe] Small fixes 2017-01-27 15:35:07 +01: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 [brigfe] Small fixes 2017-01-27 15:35:07 +01:00
Makefile.def Brig front-end 2017-01-24 13:45:56 +01:00
Makefile.in Brig front-end 2017-01-24 13:45:56 +01:00
Makefile.tpl Makefile.def: Remove references to GCJ. 2016-11-15 17:29:12 +00: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.