diff options
Diffstat (limited to 'gcc/d/toir.cc')
-rw-r--r-- | gcc/d/toir.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/d/toir.cc b/gcc/d/toir.cc index 427a662..b70db7a 100644 --- a/gcc/d/toir.cc +++ b/gcc/d/toir.cc @@ -1058,13 +1058,8 @@ public: if (sle != NULL) { - StructDeclaration *sd = type->baseElemOf ()->isTypeStruct ()->sym; sle->sym = build_address (this->func_->shidden); using_rvo_p = true; - - /* Fill any alignment holes in the return slot using memset. */ - if (!identity_compare_p (sd) || sd->isUnionDeclaration ()) - add_stmt (build_memset_call (this->func_->shidden)); } if (using_rvo_p == true) |