aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-item.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-05-07 16:39:28 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-05-07 16:52:06 +0100
commit9428db632815386ea6e6c994e92c9aabf00abb35 (patch)
tree78a6dc418daacdf1323eeeba70319018dab42540 /gcc/rust/backend/rust-compile-item.h
parent9fdb4b6aff586a1dece32f03f53aa6ea2837e7e4 (diff)
downloadgcc-9428db632815386ea6e6c994e92c9aabf00abb35.zip
gcc-9428db632815386ea6e6c994e92c9aabf00abb35.tar.gz
gcc-9428db632815386ea6e6c994e92c9aabf00abb35.tar.bz2
We need to monomorphize tuples as well as ADT's
When we have generic data types or types that can contain type parameters we need to make sure to avoid duplicating record types and abusing structural equality rules in GCC. We do this by looking for already compiled types that the item is equal to so they refer to the canoncial record type. Fixes #415
Diffstat (limited to 'gcc/rust/backend/rust-compile-item.h')
0 files changed, 0 insertions, 0 deletions