------- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-22 18:29 ------- This patch fixes it for me (but I don't have time right now to test it): Index: tree-inline.c =================================================================== --- tree-inline.c (revision 112997) +++ tree-inline.c (working copy) @@ -2073,6 +2077,7 @@ expand_call_inline (basic_block bb, tree if (CALL_EXPR_RETURN_SLOT_OPT (t)) { return_slot_addr = build_fold_addr_expr (modify_dest); + STRIP_USELESS_TYPE_CONVERSION (return_slot_addr); modify_dest = NULL; } }
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27218