aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/module.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc
index cebf9c3..18dabfc 100644
--- a/gcc/cp/module.cc
+++ b/gcc/cp/module.cc
@@ -6468,9 +6468,7 @@ trees_in::core_vals (tree t)
case REAL_CST:
if (const void *bytes = buf (sizeof (real_value)))
- TREE_REAL_CST_PTR (t)
- = reinterpret_cast<real_value *> (memcpy (ggc_alloc<real_value> (),
- bytes, sizeof (real_value)));
+ memcpy (TREE_REAL_CST_PTR (t), bytes, sizeof (real_value));
break;
case STRING_CST: