Go to file
Ilya Verbin 4a38b02b4e c-common.c (c_common_attribute_table): Handle "omp declare target link" attribute.
gcc/c-family/
	* c-common.c (c_common_attribute_table): Handle "omp declare target
	link" attribute.
gcc/
	* cgraphunit.c (output_in_order): Do not assemble "omp declare target
	link" variables in ACCEL_COMPILER.
	* gimplify.c (gimplify_adjust_omp_clauses): Do not remove mapping of
	"omp declare target link" variables.
	* omp-low.c (scan_sharing_clauses): Do not remove mapping of "omp
	declare target link" variables.
	(add_decls_addresses_to_decl_constructor): For "omp declare target link"
	variables output address of the artificial pointer instead of address of
	the variable.  Set most significant bit of the size to mark them.
	(pass_data_omp_target_link): New pass_data.
	(pass_omp_target_link): New class.
	(find_link_var_op): New static function.
	(make_pass_omp_target_link): New function.
	* passes.def: Add pass_omp_target_link.
	* tree-pass.h (make_pass_omp_target_link): Declare.
	* varpool.c (symbol_table::output_variables): Do not assemble "omp
	declare target link" variables in ACCEL_COMPILER.
gcc/lto/
	* lto.c: Include stringpool.h and fold-const.h.
	(offload_handle_link_vars): New static function.
	(lto_main): Call offload_handle_link_vars.
libgomp/
	* libgomp.h (REFCOUNT_LINK): Define.
	(struct splay_tree_key_s): Add link_key.
	* target.c (gomp_map_vars): Treat REFCOUNT_LINK objects as not mapped.
	Replace target address of the pointer with target address of newly
	mapped object in the splay tree.  Set link pointer on target to the
	device address of the mapped object.
	(gomp_unmap_vars): Restore target address of the pointer in the splay
	tree for REFCOUNT_LINK objects after unmapping.
	(gomp_load_image_to_device): Set refcount to REFCOUNT_LINK for "omp
	declare target link" objects.
	(gomp_unload_image_from_device): Replace j with i.  Force unmap of all
	"omp declare target link" objects, which were mapped for the image.
	(gomp_exit_data): Restore target address of the pointer in the splay
	tree for REFCOUNT_LINK objects after unmapping.
	* testsuite/libgomp.c/target-link-1.c: New file.

From-SVN: r231655
2015-12-15 14:56:50 +00:00
boehm-gc
config
contrib download_prerequisites: Download ISL 0.15 instead of 0.14. 2015-12-06 11:42:49 +01:00
fixincludes
gcc c-common.c (c_common_attribute_table): Handle "omp declare target link" attribute. 2015-12-15 14:56:50 +00:00
gnattools re PR ada/50048 ("cc1: note: obsolete option -I- used, please use -iquote instead" during bootstrap) 2015-12-06 18:44:56 +00:00
gotools re PR go/66147 (go fails to cross build) 2015-12-02 19:27:58 +00:00
include PR other/61321 - demangler crash on casts in template parameters 2015-11-27 14:48:21 +00:00
INSTALL
intl
libada
libatomic
libbacktrace PR 68115/libfortran 2015-12-10 01:08:13 +00:00
libcc1
libcilkrts
libcpp Fix missing range information for "%q+D" format code 2015-12-07 16:07:00 +00:00
libdecnumber
libffi
libgcc fptr.c (__canonicalize_funcptr_for_compare): Remove code to initialize call to __dl_fixup once. 2015-12-10 01:32:10 +00:00
libgfortran PR libfortran/pr68867 2015-12-15 03:16:26 +00:00
libgo re PR go/61303 (gccgo: segfault, regression since 4.8.2) 2015-11-26 00:24:21 +00:00
libgomp c-common.c (c_common_attribute_table): Handle "omp declare target link" attribute. 2015-12-15 14:56:50 +00:00
libiberty PR other/61321 - demangler crash on casts in template parameters 2015-11-27 14:48:21 +00:00
libitm libitm: Use multiplicative hashing in the multi-lock TM method. 2015-11-26 16:10:54 +00:00
libjava
libmpx Makefile.am (libmpx_la_LDFLAGS): Add -version-info option. 2015-12-11 14:38:53 +00:00
libobjc
liboffloadmic libgomp.h (gomp_device_state): New enum. 2015-12-14 16:46:54 +00:00
libquadmath
libsanitizer Move ptrace.h to appropriate place. 2015-11-24 14:24:46 +02:00
libssp
libstdc++-v3 Remove vestigial traces of std::tr1::bind 2015-12-15 14:17:27 +00:00
libvtv configure.ac: Move AM_ENABLE_MULTILIB before GCC_LIBSTDCXX_RAW_CXX_FLAGS. 2015-12-02 18:18:51 +00:00
lto-plugin re PR lto/67548 (LTO drops weak binding with "ld -r") 2015-11-25 23:05:07 +00:00
maintainer-scripts
zlib 2015-11-23 Matthias Klose <doko@ubuntu.com> 2015-11-23 20:27:57 +00:00
.dir-locals.el
.gitignore Add clang-format config to contrib folder 2015-11-19 12:32:09 +00:00
ABOUT-NLS
ChangeLog Add myself to MAINTAINERS 2015-12-15 06:01:06 -07:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Sync top level configure with binutils-gdb. 2015-11-20 14:24:07 +00:00
configure.ac Sync top level configure with binutils-gdb. 2015-11-20 14:24:07 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 * libtool.m4 (export_symbols_cmds) [AIX]: Add global TLS "L" symbols. 2015-11-26 08:20:59 -05:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Add myself to MAINTAINERS 2015-12-15 06:01:06 -07:00
Makefile.def re PR libffi/65726 (libffi fails to build when not bootstrapping: configure: error: C++ preprocessor "/lib/cpp" fails sanity check) 2015-12-01 21:15:35 +01:00
Makefile.in re PR go/66147 (go fails to cross build) 2015-12-02 19:27:58 +00:00
Makefile.tpl re PR go/66147 (go fails to cross build) 2015-12-02 19:27:58 +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.