public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47340] New: [trans-mem] problem with declaration of new operator
@ 2011-01-18 11:33 patrick.marlier at gmail dot com
  2011-01-18 14:13 ` [Bug c++/47340] " patrick.marlier at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: patrick.marlier at gmail dot com @ 2011-01-18 11:33 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [trans-mem] problem with declaration of new operator
           Product: gcc
           Version: trans-mem
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrick.marlier@gmail.com
                CC: rth@gcc.gnu.org, aldyh@gcc.gnu.org


It seems that there is a problem with the declaration of new operator and
related to PR46941.
Attached the testcase.

$ g++ -I . -save-temps -fgnu-tm -c -o incomplete3.o incomplete3.cpp
...
incomplete3.cpp:31:67: error: call to function ‘void* operator new(long
unsigned int)’ which throws incomplete type ‘struct std::bad_alloc’

Patrick Marlier.


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

* [Bug c++/47340] [trans-mem] problem with declaration of new operator
  2011-01-18 11:33 [Bug c++/47340] New: [trans-mem] problem with declaration of new operator patrick.marlier at gmail dot com
@ 2011-01-18 14:13 ` patrick.marlier at gmail dot com
  2011-01-25 15:40 ` aldyh at gcc dot gnu.org
  2011-01-28 22:35 ` aldyh at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: patrick.marlier at gmail dot com @ 2011-01-18 14:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Patrick Marlier <patrick.marlier at gmail dot com> 2011-01-18 13:47:21 UTC ---
Created attachment 23019
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23019
testcase


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

* [Bug c++/47340] [trans-mem] problem with declaration of new operator
  2011-01-18 11:33 [Bug c++/47340] New: [trans-mem] problem with declaration of new operator patrick.marlier at gmail dot com
  2011-01-18 14:13 ` [Bug c++/47340] " patrick.marlier at gmail dot com
@ 2011-01-25 15:40 ` aldyh at gcc dot gnu.org
  2011-01-28 22:35 ` aldyh at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: aldyh at gcc dot gnu.org @ 2011-01-25 15:40 UTC (permalink / raw)
  To: gcc-bugs

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

Aldy Hernandez <aldyh at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.01.25 15:13:02
         AssignedTo|unassigned at gcc dot       |aldyh at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


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

* [Bug c++/47340] [trans-mem] problem with declaration of new operator
  2011-01-18 11:33 [Bug c++/47340] New: [trans-mem] problem with declaration of new operator patrick.marlier at gmail dot com
  2011-01-18 14:13 ` [Bug c++/47340] " patrick.marlier at gmail dot com
  2011-01-25 15:40 ` aldyh at gcc dot gnu.org
@ 2011-01-28 22:35 ` aldyh at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: aldyh at gcc dot gnu.org @ 2011-01-28 22:35 UTC (permalink / raw)
  To: gcc-bugs

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

Aldy Hernandez <aldyh at gcc dot gnu.org> changed:

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

--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2011-01-28 21:05:13 UTC ---
Fixed.
http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02150.html


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

end of thread, other threads:[~2011-01-28 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-18 11:33 [Bug c++/47340] New: [trans-mem] problem with declaration of new operator patrick.marlier at gmail dot com
2011-01-18 14:13 ` [Bug c++/47340] " patrick.marlier at gmail dot com
2011-01-25 15:40 ` aldyh at gcc dot gnu.org
2011-01-28 22:35 ` aldyh at gcc dot gnu.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).