aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2022-04-14 20:08:14 +0100
committerIain Sandoe <iain@sandoe.co.uk>2022-04-14 20:15:55 +0100
commit82536fbb8a7d150b829650378e0ba07dad5c8fb8 (patch)
treeabf4541bcfa7016d83bc4ffe1b06d05caa964ba7 /gcc/cp/constexpr.cc
parent74b2e20222cf4fb24b90561ddb6f0989738bb722 (diff)
downloadgcc-82536fbb8a7d150b829650378e0ba07dad5c8fb8.zip
gcc-82536fbb8a7d150b829650378e0ba07dad5c8fb8.tar.gz
gcc-82536fbb8a7d150b829650378e0ba07dad5c8fb8.tar.bz2
libgccjit: Fix a bootstrap break for some targets.
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 (since they are type sizes). tested that this fixes bootstrap on x86_64-darwin19 and running check-jit. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/jit/ChangeLog: * jit-playback.cc (new_bitcast): Cast values returned by tree_to_uhwi to 'long' to match the print format.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions