aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-08-05 13:02:29 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-08-05 13:03:01 +0100
commitf70783d06336dbd94c63f37dd5623d4ffdc2e4a5 (patch)
tree6747c98ef8dfbea1c7062c3ae0e8480e1a711e3e /gcc/rust/backend/rust-compile-struct-field-expr.h
parenta39108dea1d091545982fefa88ce3be31b9eedf2 (diff)
downloadgcc-f70783d06336dbd94c63f37dd5623d4ffdc2e4a5.zip
gcc-f70783d06336dbd94c63f37dd5623d4ffdc2e4a5.tar.gz
gcc-f70783d06336dbd94c63f37dd5623d4ffdc2e4a5.tar.bz2
Update the type hasher to stop duplication of aggregate types
The hasher we ported was always calling TYPE_HASH which ends up with DECL_UID which is geneated causing aggregate types keep having a unique hash which ends up confusing the middle end as two copy's of the same aggegate type ends up making GCC think there is some kind of type conversion required here. Fixes #1434
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions