Merger of dmalcolm/jit branch from git

Programming / Compilers / GCC - dmalcolm [138bc75d-0d04-0410-961f-82ee72b054a4] - 11 November 2014 15:55 UTC

ChangeLog:
- ChangeLog.jit: New.
- MAINTAINERS (Various Maintainers): Add myself as jit maintainer.

contrib/ChangeLog:
- ChangeLog.jit: New.
- jit-coverage-report.py: New file: a script to print crude code-coverage information for the libgccjit API.

gcc/ChangeLog:
- ChangeLog.jit: New.
- Makefile.in (doc_build_sys): New variable, set to "sphinx" if sphinx is installed, falling back to "texinfo" otherwise. (FULL_DRIVER_NAME): New variable, adapted from the install-driver target. New target, a symlink within the builddir, linked to "xgcc", for use when running the JIT library from the builddir. (MOSTLYCLEANFILES): Add FULL_DRIVER_NAME. (install-driver): Use $(FULL_DRIVER_NAME) rather than spelling it out.
- configure.ac (doc_build_sys): New variable, set to "sphinx" if sphinx is installed, falling back to "texinfo" otherwise. (GCC_DRIVER_NAME): Generate a gcc-driver-name.h file containing GCC_DRIVER_NAME for the benefit of jit/internal-api.c.
- configure: Regenerate.
- doc/install.texi (--enable-host-shared): Specify that this is required when building libgccjit. (Tools/packages necessary for modifying GCC): Add Sphinx.
- timevar.def (TV_JIT_REPLAY): New. (TV_ASSEMBLE): New. (TV_LINK): New. (TV_LOAD): New.

gcc/java/ChangeLog:
- gcc/ChangeLog.jit: New.

gcc/jit/ChangeLog:
- ChangeLog.jit: New.
- ChangeLog: New.
- Make-lang.in: New.
- TODO.rst: New.
- config-lang.in: New.
- docs/Makefile: New.
- docs/_build/texinfo/Makefile: New.
- docs/_build/texinfo/factorial.png: New.
- docs/_build/texinfo/libgccjit.texi: New.
- docs/_build/texinfo/sum-of-squares.png: New.
- docs/conf.py: New.
- docs/examples/tut01-hello-world.c: New.
- docs/examples/tut02-square.c: New.
- docs/examples/tut03-sum-of-squares.c: New.
- docs/examples/tut04-toyvm/Makefile: New.
- docs/examples/tut04-toyvm/factorial.toy: New.
- docs/examples/tut04-toyvm/fibonacci.toy: New.
- docs/examples/tut04-toyvm/toyvm.c: New.
- docs/index.rst: New.
- docs/internals/index.rst: New.
- docs/intro/factorial.png: New.
- docs/intro/index.rst: New.
- docs/intro/sum-of-squares.png: New.
- docs/intro/tutorial01.rst: New.
- docs/intro/tutorial02.rst: New.
- docs/intro/tutorial03.rst: New.
- docs/intro/tutorial04.rst: New.
- docs/topics/contexts.rst: New.
- docs/topics/expressions.rst: New.
- docs/topics/functions.rst: New.
- docs/topics/index.rst: New.
- docs/topics/locations.rst: New.
- docs/topics/objects.rst: New.
- docs/topics/results.rst: New.
- docs/topics/types.rst: New.
- dummy-frontend.c: New.
- jit-builtins.c: New.
- jit-builtins.h: New.
- jit-common.h: New.
- jit-playback.c: New.
- jit-playback.h: New.
- jit-recording.c: New.
- jit-recording.h: New.
- libgccjit++.h: New.
- libgccjit.c: New.
- libgccjit.h: New.
- libgccjit.map: New.
- notes.txt: New.

gcc/testsuite/ChangeLog:
- ChangeLog.jit: New.
- jit.dg/all-non-failing-tests.h: New.
- jit.dg/harness.h: New.
- jit.dg/jit.exp: New.
- jit.dg/test-accessing-struct.c: New.
- jit.dg/test-accessing-union.c: New.
- jit.dg/test-array-as-pointer.c: New.
- jit.dg/test-arrays.c: New.
- jit.dg/test-calling-external-function.c: New.
- jit.dg/test-calling-function-ptr.c: New.
- jit.dg/test-combination.c: New.
- jit.dg/test-dot-product.c: New.
- jit.dg/test-empty.c: New.
- jit.dg/test-error-accessing-field-in-other-struct.c: New.
- jit.dg/test-error-adding-to-terminated-block.c: New.
- jit.dg/test-error-array-as-pointer.c: New.
- jit.dg/test-error-bad-cast.c: New.
- jit.dg/test-error-block-in-wrong-function.c: New.
- jit.dg/test-error-call-through-ptr-with-mismatching-args.c: New.
- jit.dg/test-error-call-through-ptr-with-non-function.c: New.
- jit.dg/test-error-call-through-ptr-with-non-pointer.c: New.
- jit.dg/test-error-call-through-ptr-with-not-enough-args.c: New.
- jit.dg/test-error-call-through-ptr-with-too-many-args.c: New.
- jit.dg/test-error-call-with-mismatching-args.c: New.
- jit.dg/test-error-call-with-not-enough-args.c: New.
- jit.dg/test-error-call-with-too-many-args.c: New.
- jit.dg/test-error-dereference-field-of-non-pointer.c: New.
- jit.dg/test-error-dereference-read-of-non-pointer.c: New.
- jit.dg/test-error-get-type-bad-enum.c: New.
- jit.dg/test-error-index-not-a-numeric-type.c: New.
- jit.dg/test-error-mismatching-types-in-assignment.c: New.
- jit.dg/test-error-mismatching-types-in-call.c: New.
- jit.dg/test-error-missing-return.c: New.
- jit.dg/test-error-new-binary-op-bad-op.c: New.
- jit.dg/test-error-new-function-bad-kind.c: New.
- jit.dg/test-error-new-unary-op-bad-op.c: New.
- jit.dg/test-error-null-passed-to-api.c: New.
- jit.dg/test-error-return-within-void-function.c: New.
- jit.dg/test-error-unreachable-block.c: New.
- jit.dg/test-error-unterminated-block.c: New.
- jit.dg/test-error-value-not-a-numeric-type.c: New.
- jit.dg/test-expressions.c: New.
- jit.dg/test-factorial.c: New.
- jit.dg/test-fibonacci.c: New.
- jit.dg/test-functions.c: New.
- jit.dg/test-fuzzer.c: New.
- jit.dg/test-hello-world.c: New.
- jit.dg/test-linked-list.c: New.
- jit.dg/test-long-names.c: New.
- jit.dg/test-nested-contexts.c: New.
- jit.dg/test-nested-loops.c: New.
- jit.dg/test-operator-overloading.cc: New.
- jit.dg/test-quadratic.c: New.
- jit.dg/test-quadratic.cc: New.
- jit.dg/test-reading-struct.c: New.
- jit.dg/test-string-literal.c: New.
- jit.dg/test-sum-of-squares.c: New.
- jit.dg/test-threads.c: New.
- jit.dg/test-types.c: New.
- jit.dg/test-using-global.c: New.
- jit.dg/test-volatile.c: New.

include/ChangeLog:
- ChangeLog.jit: New.

libbacktrace/ChangeLog:
- ChangeLog.jit: New.

libcpp/ChangeLog:
- ChangeLog.jit: New.

libdecnumber/ChangeLog:
- ChangeLog.jit: New.

libiberty/ChangeLog:
- ChangeLog.jit: New.

zlib/ChangeLog:
- ChangeLog.jit: New.

863e76f Merger of dmalcolm/jit branch from git
ChangeLog | 5 +
ChangeLog.jit | 23 +
MAINTAINERS | 1 +
contrib/ChangeLog | 6 +
contrib/ChangeLog.jit | 14 +
contrib/jit-coverage-report.py | 67 +
gcc/ChangeLog | 25 +
gcc/ChangeLog.jit | 360 ++
gcc/Makefile.in | 20 +-
gcc/configure | 52 +-
gcc/configure.ac | 10 +
gcc/doc/install.texi | 7 +-
gcc/java/ChangeLog | 4 +
gcc/java/ChangeLog.jit | 14 +
gcc/jit/ChangeLog | 60 +
gcc/jit/ChangeLog.jit | 3498 +++++++++++
gcc/jit/Make-lang.in | 298 +
gcc/jit/TODO.rst | 119 +
gcc/jit/config-lang.in | 38 +
gcc/jit/docs/Makefile | 153 +
gcc/jit/docs/_build/texinfo/Makefile | 50 +
gcc/jit/docs/_build/texinfo/factorial.png | Bin 0 -> 183838 bytes
gcc/jit/docs/_build/texinfo/libgccjit.texi | 6537 ++++++++++++++++++++
gcc/jit/docs/_build/texinfo/sum-of-squares.png | Bin 0 -> 22839 bytes
gcc/jit/docs/conf.py | 258 +
gcc/jit/docs/examples/tut01-hello-world.c | 123 +
gcc/jit/docs/examples/tut02-square.c | 107 +
gcc/jit/docs/examples/tut03-sum-of-squares.c | 172 +
gcc/jit/docs/examples/tut04-toyvm/Makefile | 11 +
gcc/jit/docs/examples/tut04-toyvm/factorial.toy | 50 +
gcc/jit/docs/examples/tut04-toyvm/fibonacci.toy | 66 +
gcc/jit/docs/examples/tut04-toyvm/toyvm.c | 861 +++
gcc/jit/docs/index.rst | 50 +
gcc/jit/docs/internals/index.rst | 216 +
gcc/jit/docs/intro/factorial.png | Bin 0 -> 183838 bytes
gcc/jit/docs/intro/index.rst | 27 +
gcc/jit/docs/intro/sum-of-squares.png | Bin 0 -> 22839 bytes
gcc/jit/docs/intro/tutorial01.rst | 52 +
gcc/jit/docs/intro/tutorial02.rst | 349 ++
gcc/jit/docs/intro/tutorial03.rst | 378 ++
gcc/jit/docs/intro/tutorial04.rst | 1108 ++++
gcc/jit/docs/topics/contexts.rst | 315 +
gcc/jit/docs/topics/expressions.rst | 525 ++
gcc/jit/docs/topics/functions.rst | 311 +
gcc/jit/docs/topics/index.rst | 30 +
gcc/jit/docs/topics/locations.rst | 69 +
gcc/jit/docs/topics/objects.rst | 86 +
gcc/jit/docs/topics/results.rst | 48 +
gcc/jit/docs/topics/types.rst | 217 +
gcc/jit/dummy-frontend.c | 252 +
gcc/jit/jit-builtins.c | 424 ++
gcc/jit/jit-builtins.h | 114 +
gcc/jit/jit-common.h | 182 +
gcc/jit/jit-playback.c | 2100 +++++++
gcc/jit/jit-playback.h | 564 ++
gcc/jit/jit-recording.c | 3434 ++++++++++
gcc/jit/jit-recording.h | 1593 +++++
gcc/jit/libgccjit++.h | 1574 +++++
gcc/jit/libgccjit.c | 2074 +++++++
gcc/jit/libgccjit.h | 986 +++
gcc/jit/libgccjit.map | 100 +
gcc/jit/notes.txt | 84 +
gcc/testsuite/ChangeLog | 64 +
gcc/testsuite/ChangeLog.jit | 626 ++
gcc/testsuite/jit.dg/all-non-failing-tests.h | 166 +
gcc/testsuite/jit.dg/harness.h | 242 +
gcc/testsuite/jit.dg/jit.exp | 293 +
gcc/testsuite/jit.dg/test-accessing-struct.c | 112 +
gcc/testsuite/jit.dg/test-accessing-union.c | 97 +
gcc/testsuite/jit.dg/test-array-as-pointer.c | 101 +
gcc/testsuite/jit.dg/test-arrays.c | 165 +
.../jit.dg/test-calling-external-function.c | 118 +
gcc/testsuite/jit.dg/test-calling-function-ptr.c | 118 +
gcc/testsuite/jit.dg/test-combination.c | 67 +
gcc/testsuite/jit.dg/test-dot-product.c | 129 +
gcc/testsuite/jit.dg/test-empty.c | 20 +
.../test-error-accessing-field-in-other-struct.c | 114 +
.../jit.dg/test-error-adding-to-terminated-block.c | 48 +
gcc/testsuite/jit.dg/test-error-array-as-pointer.c | 99 +
gcc/testsuite/jit.dg/test-error-bad-cast.c | 63 +
.../jit.dg/test-error-block-in-wrong-function.c | 65 +
...-error-call-through-ptr-with-mismatching-args.c | 74 +
...test-error-call-through-ptr-with-non-function.c | 65 +
.../test-error-call-through-ptr-with-non-pointer.c | 62 +
...t-error-call-through-ptr-with-not-enough-args.c | 70 +
...est-error-call-through-ptr-with-too-many-args.c | 87 +
.../jit.dg/test-error-call-with-mismatching-args.c | 87 +
.../jit.dg/test-error-call-with-not-enough-args.c | 87 +
.../jit.dg/test-error-call-with-too-many-args.c | 89 +
.../test-error-dereference-field-of-non-pointer.c | 95 +
.../test-error-dereference-read-of-non-pointer.c | 55 +
.../jit.dg/test-error-get-type-bad-enum.c | 27 +
.../jit.dg/test-error-index-not-a-numeric-type.c | 34 +
.../test-error-mismatching-types-in-assignment.c | 61 +
.../jit.dg/test-error-mismatching-types-in-call.c | 80 +
gcc/testsuite/jit.dg/test-error-missing-return.c | 40 +
.../jit.dg/test-error-new-binary-op-bad-op.c | 37 +
.../jit.dg/test-error-new-function-bad-kind.c | 41 +
.../jit.dg/test-error-new-unary-op-bad-op.c | 36 +
.../jit.dg/test-error-null-passed-to-api.c | 31 +
.../test-error-return-within-void-function.c | 54 +
.../jit.dg/test-error-unreachable-block.c | 50 +
.../jit.dg/test-error-unterminated-block.c | 42 +
.../jit.dg/test-error-value-not-a-numeric-type.c | 29 +
gcc/testsuite/jit.dg/test-expressions.c | 896 +++
gcc/testsuite/jit.dg/test-factorial.c | 103 +
gcc/testsuite/jit.dg/test-fibonacci.c | 136 +
gcc/testsuite/jit.dg/test-functions.c | 356 ++
gcc/testsuite/jit.dg/test-fuzzer.c | 462 ++
gcc/testsuite/jit.dg/test-hello-world.c | 72 +
gcc/testsuite/jit.dg/test-linked-list.c | 141 +
gcc/testsuite/jit.dg/test-long-names.c | 112 +
gcc/testsuite/jit.dg/test-nested-contexts.c | 641 ++
gcc/testsuite/jit.dg/test-nested-loops.c | 179 +
gcc/testsuite/jit.dg/test-operator-overloading.cc | 310 +
gcc/testsuite/jit.dg/test-quadratic.c | 488 ++
gcc/testsuite/jit.dg/test-quadratic.cc | 366 ++
gcc/testsuite/jit.dg/test-reading-struct.c | 135 +
gcc/testsuite/jit.dg/test-string-literal.c | 52 +
gcc/testsuite/jit.dg/test-sum-of-squares.c | 126 +
gcc/testsuite/jit.dg/test-threads.c | 252 +
gcc/testsuite/jit.dg/test-types.c | 361 ++
gcc/testsuite/jit.dg/test-using-global.c | 73 +
gcc/testsuite/jit.dg/test-volatile.c | 66 +
gcc/timevar.def | 6 +
include/ChangeLog | 4 +
include/ChangeLog.jit | 11 +
libbacktrace/ChangeLog | 4 +
libbacktrace/ChangeLog.jit | 14 +
libcpp/ChangeLog | 4 +
libcpp/ChangeLog.jit | 22 +
libdecnumber/ChangeLog | 4 +
libdecnumber/ChangeLog.jit | 22 +
libiberty/ChangeLog | 4 +
libiberty/ChangeLog.jit | 23 +
zlib/ChangeLog.jit | 22 +
136 files changed, 39772 insertions(+), 6 deletions(-)

Upstream: gcc.gnu.org


  • Share