public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64529] New: Noexcept New
@ 2015-01-07 20:04 olafvdspek at gmail dot com
  2020-07-28 16:50 ` [Bug c++/64529] " mpolacek at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: olafvdspek at gmail dot com @ 2015-01-07 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64529
           Summary: Noexcept New
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: olafvdspek at gmail dot com

Lots of programs abort / terminate when new fails to allocate memory. Would it
be possible to have an option to make new noexcept, possibly allowing more
optimizations as noexcept will have a ripple effect?


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

* [Bug c++/64529] Noexcept New
  2015-01-07 20:04 [Bug c++/64529] New: Noexcept New olafvdspek at gmail dot com
@ 2020-07-28 16:50 ` mpolacek at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-07-28 16:50 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Since C++11, we already have non-throwing allocation functions.

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

end of thread, other threads:[~2020-07-28 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-07 20:04 [Bug c++/64529] New: Noexcept New olafvdspek at gmail dot com
2020-07-28 16:50 ` [Bug c++/64529] " mpolacek 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).