------- Comment #7 from jason at gcc dot gnu dot org  2006-02-03 21:56 -------
Subject: Bug 25977

Author: jason
Date: Fri Feb  3 21:56:03 2006
New Revision: 110564

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110564
Log:
        PR c++/25979
        * gimplify.c (gimplify_modify_expr_rhs): Disable *& optimization for
now.

        PR middle-end/25977
        * gimplify.c (gimplify_modify_expr_rhs): It's not always safe to do RVO
        on the return slot if it's an NRV.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/nrv10.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/nrv11.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/gimplify.c
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/temp1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25977

Reply via email to