This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14528] [3.4/3.5 Regression] trouble with auto_ptr
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2004 21:50:25 -0000
- Subject: [Bug libstdc++/14528] [3.4/3.5 Regression] trouble with auto_ptr
- References: <20040311104023.14528.rwgk@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-03-12 21:50 -------
The point is that we generate a temporary for which the standard
prescribes that a copy constructor must be accessible. We do not have
to use it, and in fact don't and never did, and as it seems other compilers
don't as well. However, the compiler needs to still check that the copy
constructor is in fact accessible, something that we have apparently
not done up to now.
In other words, the change in the compiler will not lead to different
code for valid programs, we just check a few more things. In this case
boost got tripped by that.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14528