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: 13 Mar 2007 21:35:15 -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 #3 from pinskia at gcc dot gnu dot org 2007-03-13 21:35 -------
Reduced testcase:
class string {
char *ptr;
int len;
int sz;
};
class cset { } _cset_init;
string an_empty_string;
void f(string& = an_empty_string);
void
h (void )
{
f();
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-13 21:35:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31165