public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52770] New: RFE: Letting compiler know asm block can call function that can throw
@ 2012-03-29 12:55 sbergman at redhat dot com
  2012-03-29 15:56 ` [Bug c++/52770] " rth at gcc dot gnu.org
  2021-08-10 19:08 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: sbergman at redhat dot com @ 2012-03-29 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52770
           Summary: RFE: Letting compiler know asm block can call function
                    that can throw
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sbergman@redhat.com


See the mail thread starting at
<http://gcc.gnu.org/ml/gcc/2012-03/msg00454.html> "C++: Letting compiler know
asm block can call function that can throw?"  In short, a way to tell the
compiler that an asm block contains function calls that can throw is needed, so
that it produces consistent .gcc_except_table information across a function (or
file even?), so that actually throwing exceptions from such asm calls does not
bail out to std::terminate.


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

* [Bug c++/52770] RFE: Letting compiler know asm block can call function that can throw
  2012-03-29 12:55 [Bug c++/52770] New: RFE: Letting compiler know asm block can call function that can throw sbergman at redhat dot com
@ 2012-03-29 15:56 ` rth at gcc dot gnu.org
  2021-08-10 19:08 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rth at gcc dot gnu.org @ 2012-03-29 15:56 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-03-29
                 CC|                            |rth at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Henderson <rth at gcc dot gnu.org> 2012-03-29 15:52:42 UTC ---
We could probably add another synthetic clobber, i.e.

  asm volatile("" : : : "throw");


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

* [Bug c++/52770] RFE: Letting compiler know asm block can call function that can throw
  2012-03-29 12:55 [Bug c++/52770] New: RFE: Letting compiler know asm block can call function that can throw sbergman at redhat dot com
  2012-03-29 15:56 ` [Bug c++/52770] " rth at gcc dot gnu.org
@ 2021-08-10 19:08 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-10 19:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52770

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sagebar at web dot de

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 94357 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2021-08-10 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 12:55 [Bug c++/52770] New: RFE: Letting compiler know asm block can call function that can throw sbergman at redhat dot com
2012-03-29 15:56 ` [Bug c++/52770] " rth at gcc dot gnu.org
2021-08-10 19:08 ` pinskia 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).