This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31165] [4.2/4.3 Regression] Error: symbol `an_empty_string' is already defined
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2007 01:27:39 -0000
- Subject: [Bug c++/31165] [4.2/4.3 Regression] Error: symbol `an_empty_string' is already defined
- References: <bug-31165-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2007-03-15 01:27 -------
Subject: Bug 31165
Author: pinskia
Date: Thu Mar 15 01:27:29 2007
New Revision: 122941
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122941
Log:
2007-03-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR c++/31165
* call.c (convert_default_arg): Instead of copying the node,
unshare it.
2007-03-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C++/31165
* g++.dg/other/default7.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/default7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31165