Re: [pushed] libgccjit: Fix a bootstrap break for some targets.

2022-04-19 Thread Richard Biener via Gcc-patches
On Thu, Apr 14, 2022 at 9:19 PM Iain Sandoe via Gcc-patches wrote: > > Some targets use 'long long unsigned int' for unsigned HW int, and this > leads to a Werror=format= fail for two print cases in jit-playback.cc > introduced in r12-8117-g30f7c83e9cfe (Add support for bitcasts [PR104071]) > > As

[pushed] libgccjit: Fix a bootstrap break for some targets.

2022-04-14 Thread Iain Sandoe via Gcc-patches
Some targets use 'long long unsigned int' for unsigned HW int, and this leads to a Werror=format= fail for two print cases in jit-playback.cc introduced in r12-8117-g30f7c83e9cfe (Add support for bitcasts [PR104071]) As discussed on IRC, casting to (long) seems entirely reasonable for the values (