aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-03-16 21:03:34 +0000
committerPhilip Herron <philip.herron@embecosm.com>2023-03-18 00:15:08 +0000
commit6b77eb316cdfb394fdea443d61605e72683c4ec4 (patch)
tree5a609127ddc3f6d0a0231be612f906ce9fe525d3 /gcc/alias.cc
parent858fd17fcf9aeddd9392d480c19471aaac891e5f (diff)
downloadgcc-6b77eb316cdfb394fdea443d61605e72683c4ec4.zip
gcc-6b77eb316cdfb394fdea443d61605e72683c4ec4.tar.gz
gcc-6b77eb316cdfb394fdea443d61605e72683c4ec4.tar.bz2
gccrs: Add move_val_init intrinsic
This implements it as a builtin memcpy using the generic param T for the size hint. Fixes #1902 gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (move_val_init_handler): new intrinsice (uninit_handler): use a builtin memcpy gcc/testsuite/ChangeLog: * rust/compile/issue-1981.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/alias.cc')
0 files changed, 0 insertions, 0 deletions