Go to file
David Malcolm ccce3b2ac3 New jit API entrypoint: gcc_jit_context_new_rvalue_from_long
gcc/jit/ChangeLog:
	* docs/cp/topics/expressions.rst (Simple expressions): Use
	":c:type:" for C types.  Document new overload of
	gcc::jit::context::new_rvalue.
	* docs/topics/expressions.rst (Simple expressions): Use
	":c:type:" for C types.  Document new entrypoint
	gcc_jit_context_new_rvalue_from_long.
	* docs/_build/texinfo/libgccjit.texi: Regenerate.
	* jit-playback.c: Within namespace gcc::jit::playback...
	(context::new_rvalue_from_int): Eliminate in favor of...
	(context::new_rvalue_from_const <int>): ...this.
	(context::new_rvalue_from_double): Eliminate in favor of...
	(context::new_rvalue_from_const <double>): ...this.
	(context::new_rvalue_from_const <long>): New.
	(context::new_rvalue_from_ptr): Eliminate in favor of...
	(context::new_rvalue_from_const <void *>): ...this.
	* jit-playback.h: Within namespace gcc::jit::playback...
	(context::new_rvalue_from_int): Eliminate in favor of...
	(context::new_rvalue_from_const <HOST_TYPE>): ...this.
	(context::new_rvalue_from_double): Likewise.
	(context::new_rvalue_from_ptr): Likewise.
	* jit-recording.c: Within namespace gcc::jit::recording...
	(context::new_rvalue_from_int): Eliminate.
	(context::new_rvalue_from_double): Likewise.
	(context::new_rvalue_from_ptr): Likewise.
	(class memento_of_new_rvalue_from_const <int>):
	Add explicit specialization.
	(class memento_of_new_rvalue_from_const <long>):
	Likewise.
	(class memento_of_new_rvalue_from_const <double>):
	Likewise.
	(class memento_of_new_rvalue_from_const <void *>):
	Likewise.
	(memento_of_new_rvalue_from_int::replay_into):
	Generalize into...
	(memento_of_new_rvalue_from_const <HOST_TYPE>::replay_into):
	...this...
	(memento_of_new_rvalue_from_double::replay_into):
	...allowing this...
	(memento_of_new_rvalue_from_ptr::replay_into):
	...and this to be deleted.
	(memento_of_new_rvalue_from_int::make_debug_string):
	Convert to...
	(memento_of_new_rvalue_from_const <int>::make_debug_string):
	...this.
	(memento_of_new_rvalue_from_double::make_debug_string):
	Convert to...
	(memento_of_new_rvalue_from_const <double>::make_debug_string):
	...this.
	(memento_of_new_rvalue_from_ptr::make_debug_string)
	Convert to...
	(memento_of_new_rvalue_from_const <void *>::make_debug_string):
	...this.
	(memento_of_new_rvalue_from_const <long>::make_debug_string):
	New function.
	* jit-recording.h: Within namespace gcc::jit::recording...
	(context::new_rvalue_from_int): Eliminate.
	(context::new_rvalue_from_double): Likewise.
	(context::new_rvalue_from_ptr): Likewise, all in favor of...
	(context::new_rvalue_from_const <HOST_TYPE>): New family of
	methods.
	(class memento_of_new_rvalue_from_int): Eliminate.
	(class memento_of_new_rvalue_from_double): Likewise.
	(class memento_of_new_rvalue_from_ptr): Likewise.
	(class memento_of_new_rvalue_from_const <HOST_TYPE>): New family
	of rvalue subclasses.
	* libgccjit++.h (gccjit::context::new_rvalue): New overload, for
	"long".
	* libgccjit.c (gcc_jit_context_new_rvalue_from_int): Update for
	rewriting of recording::context::new_rvalue_from_int to
	recording::context::new_rvalue_from_const <int>.
	(gcc_jit_context_new_rvalue_from_long): New API entrypoint.
	(gcc_jit_context_new_rvalue_from_double): Update for
	rewriting of recording::context::new_rvalue_from_double to
	recording::context::new_rvalue_from_const <double>.
	(gcc_jit_context_new_rvalue_from_ptr): Update for
	rewriting of recording::context::new_rvalue_from_ptr to
	recording::context::new_rvalue_from_const <void *>.
	* libgccjit.h (gcc_jit_context_new_rvalue_from_long): New API
	entrypoint.
	* libgccjit.map (gcc_jit_context_new_rvalue_from_long): Likewise.

gcc/testsuite/ChangeLog:
	* jit.dg/all-non-failing-tests.h: Add test-constants.c.
	* jit.dg/test-combination.c (create_code): Likewise.
	(verify_code): Likewise.
	* jit.dg/test-constants.c: New test case.
	* jit.dg/test-threads.c: Add test-constants.c.

From-SVN: r219401
2015-01-09 20:10:11 +00:00
INSTALL
boehm-gc Include target-utils.exp in boehm-gc testing 2014-12-18 09:42:22 +00:00
config isl.m4: Don't pass -DCLOOG_INT_GMP on islinc. 2014-12-04 08:45:33 +00:00
contrib * config-list.mk (LIST): Add visium-elf. 2015-01-06 08:54:46 +00:00
fixincludes server.c (server_setup): Check return value of getcwd and in case of error set buff[0] to 0. 2014-12-15 09:10:41 +01:00
gcc New jit API entrypoint: gcc_jit_context_new_rvalue_from_long 2015-01-09 20:10:11 +00:00
gnattools
include xasprintf.c: New file. 2014-12-24 17:22:51 +01:00
intl
libada Update copyright years. 2015-01-05 13:33:28 +01:00
libatomic configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
libbacktrace Update copyright years. 2015-01-05 13:33:28 +01:00
libcc1 Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcilkrts Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcpp Update copyright years. 2015-01-05 13:33:28 +01:00
libdecnumber Update copyright years. 2015-01-05 13:33:28 +01:00
libffi Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libgcc configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
libgfortran Update copyright years. 2015-01-05 13:33:28 +01:00
libgo cmd/go: Use builtin constant to set default gccgo compiler. 2015-01-08 20:32:42 +00:00
libgomp libgomp: Fix 32-bit x86 Intel MIC offloading testing. 2015-01-08 17:01:37 +01:00
libiberty xasprintf.c: New file. 2014-12-24 17:22:51 +01:00
libitm Update copyright years. 2015-01-05 13:33:28 +01:00
libjava gcc.c (process_command): Update copyright notice dates. 2015-01-05 13:05:46 +01:00
libobjc Added PR libobjc/51891. 2015-01-09 18:12:51 +00:00
liboffloadmic [PATCH 3/4] OpenMP 4.0 offloading to Intel MIC: libgomp plugin. 2014-11-13 14:05:49 +00:00
libquadmath gcc.c (process_command): Update copyright notice dates. 2015-01-05 13:05:46 +01:00
libsanitizer sanitizer_symbolizer_libbacktrace.cc, [...]: Cherry pick upstream r224308. 2014-12-16 12:35:34 +01:00
libssp Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libstdc++-v3 re PR libstdc++/64476 (std::uninitialized_copy tests assignability the wrong way, resulting in performance pessimization) 2015-01-09 18:02:47 +00:00
libvtv Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers 2014-12-12 12:00:01 +00:00
lto-plugin lto-wrapper.c (compile_offload_image): Start processing in_argv from 0 instead of 1. 2014-12-09 22:44:16 +00:00
maintainer-scripts Add svn:executable property for generate_libstdcxx_web_docs. 2014-10-30 11:11:38 +01:00
zlib Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
.dir-locals.el
.gitignore Local Vim config with GNU formatting. 2014-12-09 13:45:47 +00:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.tree-ssa
MAINTAINERS * MAINTAINERS (CPU Port Maintainers): Add myself for Visium port. 2015-01-06 08:53:16 +00:00
Makefile.def liboffloadmic/plugin: Depend on libgomp being built. 2015-01-08 15:46:22 +01:00
Makefile.in liboffloadmic/plugin: Depend on libgomp being built. 2015-01-08 15:46:22 +01:00
Makefile.tpl Bug #63539 2015-01-03 14:50:48 -08:00
README
compile Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
config-ml.in
config.guess config.sub: Update from upstream, to 2015-01-01 version. 2015-01-02 09:30:21 +00:00
config.rpath
config.sub config.sub: Update from upstream, to 2015-01-01 version. 2015-01-02 09:30:21 +00:00
configure configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
configure.ac configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
depcomp Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
install-sh Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
libtool-ldflags
libtool.m4 Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
mkdep
mkinstalldirs Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
move-if-change Update move-if-change from gnulib 2014-11-16 16:12:44 +00:00
symlink-tree
ylwrap Update from upstream Automake files. 2014-11-16 14:07:13 +00:00

README

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.