public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46300] New: Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe
@ 2010-11-04  9:16 martin at se dot inf.tu-dresden.de
  2010-11-25  9:58 ` [Bug c++/46300] " patrick.marlier at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: martin at se dot inf.tu-dresden.de @ 2010-11-04  9:16 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Calls to internals _ITM_cxa_throw and
                    _ITM_cxa_allocate_exception are not marked as safe
           Product: gcc
           Version: trans-mem
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: martin@se.inf.tu-dresden.de


Created attachment 22272
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22272
mark _ITM_cxa_throw and _ITM_cxa_allocate_exception as tm_callable

Both calls are inserted into the code when coping with exceptions but are not
marked as transaction_safe therefore abort the compilation.

Attached patch should fix that.


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

* [Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe
  2010-11-04  9:16 [Bug c++/46300] New: Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe martin at se dot inf.tu-dresden.de
@ 2010-11-25  9:58 ` patrick.marlier at gmail dot com
  2010-12-13 11:14 ` aldyh at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: patrick.marlier at gmail dot com @ 2010-11-25  9:58 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Marlier <patrick.marlier at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldyh at gcc dot gnu.org,
                   |                            |patrick.marlier at gmail
                   |                            |dot com, rth at gcc dot
                   |                            |gnu.org

--- Comment #1 from Patrick Marlier <patrick.marlier at gmail dot com> 2010-11-25 09:39:10 UTC ---
I think these functions should be marked as transaction_pure and not
transaction_safe since they are managed by the TM library.

Patrick Marlier.


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

* [Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe
  2010-11-04  9:16 [Bug c++/46300] New: Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe martin at se dot inf.tu-dresden.de
  2010-11-25  9:58 ` [Bug c++/46300] " patrick.marlier at gmail dot com
@ 2010-12-13 11:14 ` aldyh at gcc dot gnu.org
  2010-12-13 15:22 ` aldyh at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu.org @ 2010-12-13 11:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe
  2010-11-04  9:16 [Bug c++/46300] New: Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe martin at se dot inf.tu-dresden.de
  2010-11-25  9:58 ` [Bug c++/46300] " patrick.marlier at gmail dot com
  2010-12-13 11:14 ` aldyh at gcc dot gnu.org
@ 2010-12-13 15:22 ` aldyh at gcc dot gnu.org
  2010-12-13 17:15 ` aldyh at gcc dot gnu.org
  2010-12-14  0:02 ` aldyh at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu.org @ 2010-12-13 15:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2010.12.13 15:21:54
     Ever Confirmed|0                           |1

--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2010-12-13 15:21:54 UTC ---
Fixed here and waiting approval:
http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00989.html


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

* [Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe
  2010-11-04  9:16 [Bug c++/46300] New: Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe martin at se dot inf.tu-dresden.de
                   ` (2 preceding siblings ...)
  2010-12-13 15:22 ` aldyh at gcc dot gnu.org
@ 2010-12-13 17:15 ` aldyh at gcc dot gnu.org
  2010-12-14  0:02 ` aldyh at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu.org @ 2010-12-13 17:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug c++/46300] Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe
  2010-11-04  9:16 [Bug c++/46300] New: Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe martin at se dot inf.tu-dresden.de
                   ` (3 preceding siblings ...)
  2010-12-13 17:15 ` aldyh at gcc dot gnu.org
@ 2010-12-14  0:02 ` aldyh at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu.org @ 2010-12-14  0:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2010-12-14 00:02:19 UTC ---
closed and fixed


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

end of thread, other threads:[~2010-12-14  0:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-04  9:16 [Bug c++/46300] New: Calls to internals _ITM_cxa_throw and _ITM_cxa_allocate_exception are not marked as safe martin at se dot inf.tu-dresden.de
2010-11-25  9:58 ` [Bug c++/46300] " patrick.marlier at gmail dot com
2010-12-13 11:14 ` aldyh at gcc dot gnu.org
2010-12-13 15:22 ` aldyh at gcc dot gnu.org
2010-12-13 17:15 ` aldyh at gcc dot gnu.org
2010-12-14  0:02 ` 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).