diff options
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c index 34c0ba2..d6f53f4 100644 --- a/gcc/fortran/symbol.c +++ b/gcc/fortran/symbol.c @@ -5073,7 +5073,7 @@ gfc_get_typebound_proc (gfc_typebound_proc *tb0) result = XCNEW (gfc_typebound_proc); if (tb0) - memcpy (result, tb0, sizeof (gfc_typebound_proc)); + *result = *tb0; result->error = 1; latest_undo_chgset->tbps.safe_push (result); |