aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-06-25 21:36:32 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-06-25 21:18:56 +0000
commitac43e5899ccb83b4d11ce1ae5e441f7b3734b9b2 (patch)
tree001d280588296300c028967523901cfcbbd89892 /gcc/rust/resolve
parent337ed0fd1ba488754335b824263cff297e26e3bd (diff)
downloadgcc-ac43e5899ccb83b4d11ce1ae5e441f7b3734b9b2.zip
gcc-ac43e5899ccb83b4d11ce1ae5e441f7b3734b9b2.tar.gz
gcc-ac43e5899ccb83b4d11ce1ae5e441f7b3734b9b2.tar.bz2
gccrs: Stop autoderef of raw pointer types
It is unsafe to deref raw pointers during autoderef this adds a check to stop autoderef early when we are about to try and deref pointers. Fixes #2015 gcc/rust/ChangeLog: * typecheck/rust-autoderef.cc (AutoderefCycle::cycle): add check for pointers Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions