diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-05-07 16:39:28 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-05-07 16:52:06 +0100 |
commit | 9428db632815386ea6e6c994e92c9aabf00abb35 (patch) | |
tree | 78a6dc418daacdf1323eeeba70319018dab42540 /gcc/rust/backend/rust-compile-item.h | |
parent | 9fdb4b6aff586a1dece32f03f53aa6ea2837e7e4 (diff) | |
download | gcc-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