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++/16844] [3.5 Regression] Explicit instantiation failing


------- Additional Comments From pcarlini at suse dot de  2004-08-01 10:21 -------
Isn't just

diff -urN libstdc++-v3-orig/include/bits/stl_list.h
libstdc++-v3/include/bits/stl_list.h
--- libstdc++-v3-orig/include/bits/stl_list.h   2004-07-28 18:37:17.000000000 +0200
+++ libstdc++-v3/include/bits/stl_list.h        2004-08-01 12:10:20.000000000 +0200
@@ -457,7 +457,7 @@
        _Node* __p = this->_M_get_node();
        try
          {
-           this->get_allocator().construct(&__p->_M_data);
+           this->get_allocator().construct(&__p->_M_data, value_type());
          }
        catch(...)
          {

???

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |austern at apple dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16844


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