]> gcc.gnu.org Git - gcc.git/commit
jit: avoid using __vector in testcase [PR110466]
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 9 May 2024 17:09:27 +0000 (13:09 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Thu, 9 May 2024 17:09:27 +0000 (13:09 -0400)
commitb38472ffc1e631bd357573b44d956ce16d94e666
tree30d0e2177899009748dffa829ce2d7991578aa4b
parente0c52905f666e3d23881f82dbf39466a24f009f4
jit: avoid using __vector in testcase [PR110466]

r13-4531-gd2e782cb99c311 added test coverage to libgccjit's vector
support, but used __vector, which doesn't work on Power.  Additionally
the size param to gcc_jit_type_get_vector was wrong.

Fixed thusly.

gcc/testsuite/ChangeLog:
PR jit/110466
* jit.dg/test-expressions.c (run_test_of_comparison): Fix size
param to gcc_jit_type_get_vector.
(verify_comparisons): Use a typedef rather than __vector.

(cherry picked from commit r14-2222-g6735d660839533)

Co-authored-by: Marek Polacek <polacek@redhat.com>
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/testsuite/jit.dg/test-expressions.c
This page took 0.062031 seconds and 6 git commands to generate.