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

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 17 14:33:00 GMT 2015


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

--- Comment #14 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun 17 14:33:17 2015
New Revision: 224559

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

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



More information about the Gcc-bugs mailing list