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 libstdc++/14528] [3.4/3.5 Regression] trouble with auto_ptr


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


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