[Bug libstdc++/16844] [3.5 Regression] Explicit instantiation failing

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Sun Aug 1 10:21:00 GMT 2004


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



More information about the Gcc-bugs mailing list