[PATCH V4][gcc] libgccjit: introduce version entry points

Andrea Corallo andrea.corallo@arm.com
Tue Mar 31 12:05:52 GMT 2020


Hi all,

Updated version of the patch addressing last comments.

Regression clean, okay to apply?

Bests

  Andrea

gcc/jit/ChangeLog
2020-??-??  Andrea Corallo  <andrea.corallo@arm.com>
	    David Malcolm  <dmalcolm@redhat.com>

	* docs/topics/compatibility.rst (LIBGCCJIT_ABI_13): New ABI tag
	plus add version paragraph.
	* libgccjit++.h (namespace gccjit::version): Add new namespace.
	* libgccjit.c (gcc_jit_version_major, gcc_jit_version_minor)
	(gcc_jit_version_patchlevel): New functions.
	* libgccjit.h (LIBGCCJIT_HAVE_gcc_jit_version): New macro.
	(gcc_jit_version_major, gcc_jit_version_minor)
	(gcc_jit_version_patchlevel): New functions.
	* libgccjit.map (LIBGCCJIT_ABI_13) New ABI tag.

gcc/testsuite/ChangeLog
2020-??-??  Andrea Corallo  <andrea.corallo@arm.com>

	* jit.dg/test-version.c: New testcase.
	* jit.dg/all-non-failing-tests.h: Add test-version.c.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-new-version-entry-point.patch
Type: text/x-diff
Size: 7254 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/jit/attachments/20200331/79005f7c/attachment.bin>


More information about the Jit mailing list