public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/10378] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
@ 2003-05-26 19:09 ` pinskia@physics.uc.edu
  2003-05-26 19:11 ` pinskia@physics.uc.edu
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-26 19:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3859|application/octet-stream    |text/plain
          mime type|                            |





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
  2003-05-26 19:09 ` [Bug libstdc++/10378] cannot add object with inplace new into STL collections pinskia@physics.uc.edu
@ 2003-05-26 19:11 ` pinskia@physics.uc.edu
  2003-07-22 14:54 ` pinskia at physics dot uc dot edu
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-26 19:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia@physics.uc.edu  2003-05-26 19:09 -------
Is this a real bug according to the c++ standard (I do not have the standard):
I get the same (mainline [20030525]) as the bug says:
/Users/pinskia/fsf-nocheck/include/c++/3.4/bits/stl_construct.h: In function `void 
std::_Construct(_T1*, const _T2&) [with _T1 = Bob, _T2 = Bob]':
/Users/pinskia/fsf-nocheck/include/c++/3.4/bits/stl_list.h:413:   instantiated from 
`std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const _Tp&) [with _Tp = 
Bob, _Alloc = std::allocator<Bob>]'
/Users/pinskia/fsf-nocheck/include/c++/3.4/bits/list.tcc:89:   instantiated from `typename 
std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::insert(std::_List_iterator<_Tp, _Tp&, 
_Tp*>, const _Tp&) [with _Tp = Bob, _Alloc = std::allocator<Bob>]'
/Users/pinskia/fsf-nocheck/include/c++/3.4/bits/stl_list.h:729:   instantiated from `void 
std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Bob, _Alloc = std::allocator<
Bob>]'
pr10378.cc:25:   instantiated from here
/Users/pinskia/fsf-nocheck/include/c++/3.4/bits/stl_construct.h:78: error: no matching 
function for call to `Bob::operator new(long unsigned int, void*&)'
pr10378.cc:10: note: candidates are: static void* Bob::operator new(long unsigned int)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
  2003-05-26 19:09 ` [Bug libstdc++/10378] cannot add object with inplace new into STL collections pinskia@physics.uc.edu
  2003-05-26 19:11 ` pinskia@physics.uc.edu
@ 2003-07-22 14:54 ` pinskia at physics dot uc dot edu
  2003-08-18 13:15 ` peturr02 at ru dot is
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-22 14:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-22 14:54 -------
I think this is a dup of bug 2518 but since I do not have the C++ standard I cannot say if it 
is or is not.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (2 preceding siblings ...)
  2003-07-22 14:54 ` pinskia at physics dot uc dot edu
@ 2003-08-18 13:15 ` peturr02 at ru dot is
  2003-08-18 13:19 ` [Bug libstdc++/10378] [library DR 402] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: peturr02 at ru dot is @ 2003-08-18 13:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From peturr02 at ru dot is  2003-08-18 13:15 -------
This is library DR 402:

http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-active.html#402


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (3 preceding siblings ...)
  2003-08-18 13:15 ` peturr02 at ru dot is
@ 2003-08-18 13:19 ` pinskia at gcc dot gnu dot org
  2003-08-18 13:20 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18 13:19 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-18 13:19:04
               date|                            |
            Summary|cannot add object with      |[library DR 402] cannot add
                   |inplace new into STL        |object with inplace new into
                   |collections                 |STL collections


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-18 13:19 -------
I can confirm this on the mainline (20030818).


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (4 preceding siblings ...)
  2003-08-18 13:19 ` [Bug libstdc++/10378] [library DR 402] " pinskia at gcc dot gnu dot org
@ 2003-08-18 13:20 ` pinskia at gcc dot gnu dot org
  2003-11-30 20:16 ` paolo at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18 13:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-18 13:20 -------
Suspending untill the DR is Resolved.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (6 preceding siblings ...)
  2003-11-30 20:16 ` paolo at gcc dot gnu dot org
@ 2003-11-30 20:16 ` paolo at gcc dot gnu dot org
  2003-12-01 15:34 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: paolo at gcc dot gnu dot org @ 2003-11-30 20:16 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |paolo at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (5 preceding siblings ...)
  2003-08-18 13:20 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 20:16 ` paolo at gcc dot gnu dot org
  2003-11-30 20:16 ` paolo at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: paolo at gcc dot gnu dot org @ 2003-11-30 20:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From paolo at gcc dot gnu dot org  2003-11-30 20:16 -------
In Revision 28 we have got a 'Ready' status and a proposed resolution.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW
   Last reconfirmed|2003-11-17 16:53:54         |2003-11-30 20:16:20
               date|                            |


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (7 preceding siblings ...)
  2003-11-30 20:16 ` paolo at gcc dot gnu dot org
@ 2003-12-01 15:34 ` cvs-commit at gcc dot gnu dot org
  2003-12-01 15:36 ` paolo at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-01 15:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-01 15:34 -------
Subject: Bug 10378

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	paolo@gcc.gnu.org	2003-12-01 15:34:07

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/include/bits: allocator.h allocator_traits.h 
	                           stl_construct.h 
	libstdc++-v3/docs/html/ext: howto.html 
Added files:
	libstdc++-v3/testsuite/20_util/allocator: 1.cc 10378.cc 
Removed files:
	libstdc++-v3/testsuite/20_util: allocator_members.cc 

Log message:
	2003-12-01  Paolo Carlini  <pcarlini@suse.de>
	
	PR libstdc++/10378
	* include/bits/allocator.h (allocator::construct): Implement
	resolution of DR 402 [Ready] (in Revision 28).
	* include/bits/allocator_traits.h (__allocator::construct):
	Likewise.
	* include/bits/stl_construct.h (_Construct): Likewise.
	* testsuite/20_util/allocator_members.cc: Move to...
	* testsuite/20_util/allocator/1.cc: ... here.
	* testsuite/20_util/allocator/10378.cc: New.
	* docs/html/ext/howto.html: Add an entry for DR 402.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2121&r2=1.2122
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/allocator.h.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/allocator_traits.h.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_construct.h.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/20_util/allocator/1.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/20_util/allocator/10378.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/20_util/allocator_members.cc.diff?cvsroot=gcc&r1=1.4&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/docs/html/ext/howto.html.diff?cvsroot=gcc&r1=1.40&r2=1.41



-- 


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (8 preceding siblings ...)
  2003-12-01 15:34 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-01 15:36 ` paolo at gcc dot gnu dot org
  2003-12-09 18:01 ` dhazeghi at yahoo dot com
  2004-08-05 21:39 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 12+ messages in thread
From: paolo at gcc dot gnu dot org @ 2003-12-01 15:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From paolo at gcc dot gnu dot org  2003-12-01 15:36 -------
Fixed for 3.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (9 preceding siblings ...)
  2003-12-01 15:36 ` paolo at gcc dot gnu dot org
@ 2003-12-09 18:01 ` dhazeghi at yahoo dot com
  2004-08-05 21:39 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 12+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 18:01 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/10378] [library DR 402] cannot add object with inplace new into STL collections
       [not found] <20030411145600.10378.nick.brook@3glab.com>
                   ` (10 preceding siblings ...)
  2003-12-09 18:01 ` dhazeghi at yahoo dot com
@ 2004-08-05 21:39 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-05 21:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-05 21:39 -------
Subject: Bug 10378

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	hammer-3_3-branch
Changes by:	paolo@gcc.gnu.org	2004-08-05 21:39:05

Modified files:
	libstdc++-v3   : ChangeLog.hammer 
	libstdc++-v3/include/bits: stl_alloc.h stl_construct.h 

Log message:
	2004-08-05  Paolo Carlini  <pcarlini@suse.de>
	
	PR libstdc++/10378
	* include/bits/stl_alloc.h (allocator::construct,
	__allocator::construct): Implement resolution of DR 402 [Ready].
	* include/bits/stl_construct.h (_Construct): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.31&r2=1.1.2.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_alloc.h.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.25.2.5&r2=1.25.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_construct.h.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.11&r2=1.11.20.1



-- 


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-08-05 21:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030411145600.10378.nick.brook@3glab.com>
2003-05-26 19:09 ` [Bug libstdc++/10378] cannot add object with inplace new into STL collections pinskia@physics.uc.edu
2003-05-26 19:11 ` pinskia@physics.uc.edu
2003-07-22 14:54 ` pinskia at physics dot uc dot edu
2003-08-18 13:15 ` peturr02 at ru dot is
2003-08-18 13:19 ` [Bug libstdc++/10378] [library DR 402] " pinskia at gcc dot gnu dot org
2003-08-18 13:20 ` pinskia at gcc dot gnu dot org
2003-11-30 20:16 ` paolo at gcc dot gnu dot org
2003-11-30 20:16 ` paolo at gcc dot gnu dot org
2003-12-01 15:34 ` cvs-commit at gcc dot gnu dot org
2003-12-01 15:36 ` paolo at gcc dot gnu dot org
2003-12-09 18:01 ` dhazeghi at yahoo dot com
2004-08-05 21:39 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).