]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/jit/jit-playback.cc
libgccjit: Handle truncation and extension for casts [PR95498]
authorAntoni Boucher <bouanto@zoho.com>
Sun, 5 Jul 2020 23:07:30 +0000 (19:07 -0400)
committerAntoni Boucher <bouanto@zoho.com>
Sun, 18 Jul 2021 14:09:39 +0000 (10:09 -0400)
commit5cca4131e4aabf70a18e362620ad65a3cebf227a
treeabaecae41c0b144a5ebca1e451994e82e375caf3
parent853921378bfa149353b4e1c7dde5c02f80072ad7
libgccjit: Handle truncation and extension for casts [PR95498]

2021-07-18  Antoni Boucher  <bouanto@zoho.com>

gcc/jit/
PR target/95498
* jit-playback.c (convert): Add support to handle truncation and
extension in the convert function.

gcc/testsuite/
PR target/95498
* jit.dg/all-non-failing-tests.h: New test.
* jit.dg/test-cast.c: New test.

Signed-off-by: Antoni Boucher <bouanto@zoho.com>
gcc/jit/jit-playback.c
gcc/testsuite/jit.dg/all-non-failing-tests.h
gcc/testsuite/jit.dg/test-cast.c [new file with mode: 0644]