This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19317] [4.0 Regression] removing a temporary return value when we cannot
- From: "mueller at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Feb 2005 14:59:21 -0000
- Subject: [Bug c++/19317] [4.0 Regression] removing a temporary return value when we cannot
- References: <20050107191510.19317.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mueller at kde dot org 2005-02-13 14:59 -------
bug has been fixed by
2005-02-13 Jason Merrill <jason@redhat.com>
PR mudflap/19319
* gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Make return
slot explicit.
PR c++/16405
* fold-const.c (fold_indirect_ref_1): Split out from...
(build_fold_indirect_ref): Here.
(fold_indirect_ref): New fn.
* tree.h: Declare it.
* gimplify.c (gimplify_compound_lval): Call fold_indirect_ref.
(gimplify_modify_expr_rhs): Likewise.
(gimplify_expr): Likewise.
can anyone add the testcase to the regression testsuite please?
it seems to me however the above commit caused another regression, I get
other miscompilations now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19317