This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58063] default arguments evaluated twice per call
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Jun 2015 14:33:49 +0000
- Subject: [Bug c++/58063] default arguments evaluated twice per call
- Auto-submitted: auto-generated
- References: <bug-58063-4 at http dot gcc dot gnu dot org/bugzilla/>
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