diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-05-14 16:34:52 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-05-14 16:35:03 -0700 |
commit | d2a359fe5d72e28433c92e64dcbdaa93eb39caf4 (patch) | |
tree | f234e607551cfbe42b02876e829f3ebf39a8eaa0 /gcc/doc | |
parent | 3f30a274913bde0a1e01a86ce7c85e3be34ea13f (diff) | |
download | gcc-d2a359fe5d72e28433c92e64dcbdaa93eb39caf4.zip gcc-d2a359fe5d72e28433c92e64dcbdaa93eb39caf4.tar.gz gcc-d2a359fe5d72e28433c92e64dcbdaa93eb39caf4.tar.bz2 |
Skip jit tests for targets that don't support -lgccjit
Since libgccjit.so is linked into jit tests, skip jit tests for targets
that don't support -lgccjit.
gcc/
PR jit/94778
* doc/sourcebuild.texi: Document effective target lgccjit.
gcc/testsuite/
PR jit/94778
* jit.dg/jit.exp: Skip jit tests for targets that don't support
-lgccjit.
* lib/target-supports.exp (check_effective_target_lgccjit): New.
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/sourcebuild.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 240d6e4..0f70e4b 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2494,6 +2494,9 @@ Target uses comdat groups. @item indirect_calls Target supports indirect calls, i.e. calls where the target is not constant. + +@item lgccjit +Target supports -lgccjit, i.e. libgccjit.so can be linked into jit tests. @end table @subsubsection Local to tests in @code{gcc.target/i386} |