https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105812
--- Comment #2 from CVS Commits ---
The master branch has been updated by Antoni Boucher :
https://gcc.gnu.org/g:e3a5c77388ae3791afed4f4286ec7e41e5b9f7c3
commit r13-1353-ge3a5c77388ae3791afed4f4286ec7e41e5b9f7c3
Author: Antoni Boucher
Date: Wed Jun 29 19:56:56 2022 -0400
libgccjit: Fix bug where unary_op will return an integer type instead of
the correct type
2022-06-29 Antoni Boucher
gcc/jit/
PR jit/105812
* jit-playback.cc: Use the correct return type when folding in
as_truth_value.
gcc/testsuite/
PR jit/105812
* jit.dg/test-asm.cc: Add include missing to make the test pass.
* jit.dg/test-pr105812-bool-operations.c: New test.