[Bug c++/58063] default arguments evaluated twice per call

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 18 14:44:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58063

--- Comment #16 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Aug 18 14:43:38 2015
New Revision: 226973

URL: https://gcc.gnu.org/viewcvs?rev=226973&root=gcc&view=rev
Log:
        PR c++/58063
        * tree.c (bot_manip): Remap SAVE_EXPR.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/overload/defarg10.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/tree.c



More information about the Gcc-bugs mailing list