aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-expr.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-07-14 14:09:06 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-07-14 14:11:21 +0100
commit4b82481d850a35765919cf5c91e7e063d9bceb29 (patch)
tree8cfe709a96e17ccb6a51653a3b0584975c3ca564 /gcc/rust/resolve/rust-ast-resolve-expr.cc
parentab9f7f287ef0a775ac6a504d743e20c2f5488f6f (diff)
downloadgcc-4b82481d850a35765919cf5c91e7e063d9bceb29.zip
gcc-4b82481d850a35765919cf5c91e7e063d9bceb29.tar.gz
gcc-4b82481d850a35765919cf5c91e7e063d9bceb29.tar.bz2
Support aggregate types in transmute
In some testcases in libcore transmute is used on aggregate types like array's. The convert expression code assumes simple integer's. This this patch uses a gimple convert_expr to try and convert this type. This might change to a generic memcpy at somepoint but lets try this first and see how it works.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions