------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-30 11:38 -------
Confirmed, a shorter testcase:
struct F
{
~F () {}
F (int x) {}
};
F foo (const F &x);
static F z = 6;
int
main ()
{
F f = z;
foo (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-04-30 11:38:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31685