public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12255] exception-specification ignored on pointer to function
       [not found] <bug-12255-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-08 21:24 ` jason at gcc dot gnu.org
  2021-08-09 19:08 ` [Bug c++/12255] [C++98/11/14 only] " pinskia at gcc dot gnu.org
  2021-11-06  4:55 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2011-06-08 21:24 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
            Summary|exception-specifications    |exception-specification
                   |unchecked during assignment |ignored on pointer to
                   |of pointer to function      |function
           Severity|enhancement                 |normal

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-08 21:22:30 UTC ---
The underlying issue is that G++ just ignores exception-specifications on
non-function declarations.  I think this choice originated in the uncertainty
about whether or not the exeception-specification would become part of a
function type rather than remain associated with the declaration.  And as it
happens, DR 92 (http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#92)
is still open...


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

* [Bug c++/12255] [C++98/11/14 only] exception-specification ignored on pointer to function
       [not found] <bug-12255-4@http.gcc.gnu.org/bugzilla/>
  2011-06-08 21:24 ` [Bug c++/12255] exception-specification ignored on pointer to function jason at gcc dot gnu.org
@ 2021-08-09 19:08 ` pinskia at gcc dot gnu.org
  2021-11-06  4:55 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-09 19:08 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mib.bugzilla at gmail dot com

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

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

* [Bug c++/12255] [C++98/11/14 only] exception-specification ignored on pointer to function
       [not found] <bug-12255-4@http.gcc.gnu.org/bugzilla/>
  2011-06-08 21:24 ` [Bug c++/12255] exception-specification ignored on pointer to function jason at gcc dot gnu.org
  2021-08-09 19:08 ` [Bug c++/12255] [C++98/11/14 only] " pinskia at gcc dot gnu.org
@ 2021-11-06  4:55 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-06  4:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12255
Bug 12255 depends on bug 103092, which changed state.

Bug 103092 Summary: Non-throwing function pointer can point to a throwing-function in C++14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092

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

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

end of thread, other threads:[~2021-11-06  4:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12255-4@http.gcc.gnu.org/bugzilla/>
2011-06-08 21:24 ` [Bug c++/12255] exception-specification ignored on pointer to function jason at gcc dot gnu.org
2021-08-09 19:08 ` [Bug c++/12255] [C++98/11/14 only] " pinskia at gcc dot gnu.org
2021-11-06  4:55 ` 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).