diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-01-07 19:19:10 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-01-07 19:19:10 +0000 |
commit | 433d16df137250a4b814268e692d6c114ee45e49 (patch) | |
tree | 79c842059b7d5daf9dc83d67a29a678e4d841ce2 /gcc/jit/libgccjit.h | |
parent | 23608da4dba98f09398d6a608c8f8a57c37f8280 (diff) | |
download | gcc-433d16df137250a4b814268e692d6c114ee45e49.zip gcc-433d16df137250a4b814268e692d6c114ee45e49.tar.gz gcc-433d16df137250a4b814268e692d6c114ee45e49.tar.bz2 |
jit.exp: support C++ testcases
gcc/jit/ChangeLog:
* TODO.rst (Test suite): Remove item about running C++ testcases.
* docs/internals/index.rst (Working on the JIT library): Add
"c++" to the enabled languages in the suggested "configure"
invocation, and add a description of why this is necessary.
* docs/_build/texinfo/libgccjit.texi: Regenerate.
gcc/testsuite/ChangeLog:
* jit.dg/jit.exp: Load wrapper.exp with %{tool} set to "g++"
rather than "jit". Load g++.exp, and call g++_init.
Run test-*.cc files within the testsuite and *.cc files within
docs/examples.
(jit-dg-test): Drop the addition of -fgnu89-inline to
DEFAULT_CFLAGS in favor of adding it to additional_flags, only
doing it when compiling C testcases (since g++ does not handle
it). Reset "orig_environment_saved" so that LD_LIBRARY_PATH
is restored to the value after g++_init ran, rather than the
value before g++_init ran. Return a list of
$comp_output $output_file, as dg-test assumes.
From-SVN: r219318
Diffstat (limited to 'gcc/jit/libgccjit.h')
0 files changed, 0 insertions, 0 deletions