aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-08-31 11:32:18 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-08-31 21:25:00 +0000
commitfabb8b050e3ff8095b576eaa135904221bd4b53f (patch)
tree4ed80a0a1d33582b851ceeb1dda165a7d33f5d94 /gcc/rust/hir
parent53e6e5be47fcce76275bba6cdf63753e1c854ad1 (diff)
downloadgcc-fabb8b050e3ff8095b576eaa135904221bd4b53f.zip
gcc-fabb8b050e3ff8095b576eaa135904221bd4b53f.tar.gz
gcc-fabb8b050e3ff8095b576eaa135904221bd4b53f.tar.bz2
gccrs: Fix overflow intrinsic use before init
The overflow intrinsic returns a tuple of (value, boolean) where it value is the operator result and boolean if it overflowed or not. The intrinsic here did not initilize the resulting tuple and therefore was creating a use before init error resulting in garbage results Addresses #1895 gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): fix use before init Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions