API extension: add GCC_JIT_UNARY_OP_ABS to enum gcc_jit_unary_op
commit7fe953b63957d3a116af49144bd186d30a7d4a9d
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2015 20:40:46 +0000 (7 20:40 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2015 20:40:46 +0000 (7 20:40 +0000)
treef4ac466c9b35679f58cc38f46554ecece9ad0d3a
parentf9fc24da2b7e7985efada421ebf29fd139288750
API extension: add GCC_JIT_UNARY_OP_ABS to enum gcc_jit_unary_op

gcc/jit/ChangeLog:
* docs/topics/expressions.rst (Unary Operations): Add
GCC_JIT_UNARY_OP_ABS.
* jit-playback.c (gcc::jit::playback::context::new_unary_op):
Likewise.
* jit-recording.c (unary_op_strings): Likewise.
* libgccjit.c (gcc_jit_context_new_unary_op): Update checking
of "op" to reflect addition of GCC_JIT_UNARY_OP_ABS.
* libgccjit.h (enum gcc_jit_unary_op): Add GCC_JIT_UNARY_OP_ABS.
* docs/_build/texinfo/libgccjit.texi: Regenerate.

gcc/testsuite/ChangeLog:
* jit.dg/test-expressions.c (make_tests_of_unary_ops): Add test of
GCC_JIT_UNARY_OP_ABS.
(verify_unary_ops): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219321 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/jit/ChangeLog
gcc/jit/docs/_build/texinfo/libgccjit.texi
gcc/jit/docs/topics/expressions.rst
gcc/jit/jit-playback.c
gcc/jit/jit-recording.c
gcc/jit/libgccjit.c
gcc/jit/libgccjit.h
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/test-expressions.c