This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31165] [4.2/4.3 Regression] Error: symbol `an_empty_string' is already defined



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]