]> git.ipfire.org Git - thirdparty/gcc.git/commit
Skip jit tests for targets that don't support -lgccjit
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 May 2020 23:34:52 +0000 (16:34 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 May 2020 23:35:03 +0000 (16:35 -0700)
commitd2a359fe5d72e28433c92e64dcbdaa93eb39caf4
treef234e607551cfbe42b02876e829f3ebf39a8eaa0
parent3f30a274913bde0a1e01a86ce7c85e3be34ea13f
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.
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/jit.exp
gcc/testsuite/lib/target-supports.exp