diff options
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c index 801018e17fe..ae474d08bf1 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -325,7 +325,7 @@ copy_rtx (orig) all fields need copying, and then clear the fields that should not be copied. That is the sensible default behavior, and forces us to explicitly document why we are *not* copying a flag. */ - bcopy (orig, copy, sizeof (struct rtx_def) - sizeof (rtunion)); + memcpy (copy, orig, sizeof (struct rtx_def) - sizeof (rtunion)); /* We do not copy the USED flag, which is used as a mark bit during walks over the RTL. */ |