[PATCH v1 1/1] libgccjit: Make is_same_type_as() supporting floating point types

via Sourceware Forge forge-bot@forge-test.rdfm.org
Mon Oct 13 15:46:31 GMT 2025


From: Robert Zakrzewski <robert.zakrzewski1@stellantis.com>

gcc/jit/ChangeLog:

	* jit-recording.h: Fix float comparison.
	* libgccjit.cc: Fix type check in gcc_jit_context_new_comparison.

gcc/testsuite/ChangeLog:

	* jit.dg/all-non-failing-tests.h: Mention new test.
	* jit.dg/test-comparison.c: New test.

Co-authored-by: Antoni Boucher <bouanto@zoho.com>
---
 gcc/jit/jit-recording.h                      |  3 +-
 gcc/jit/libgccjit.cc                         |  3 +-
 gcc/testsuite/jit.dg/all-non-failing-tests.h |  7 ++
 gcc/testsuite/jit.dg/test-comparison.c       | 74 ++++++++++++++++++++
 4 files changed, 84 insertions(+), 3 deletions(-)
 create mode 100644 gcc/testsuite/jit.dg/test-comparison.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1-0001-libgccjit-Make-is_same_type_as-supporting-floatin.patch
Type: text/x-patch
Size: 4031 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/test-list/attachments/20251013/eaa4e260/attachment.bin>


More information about the Test-list mailing list