public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/115558] New: Trivial noexcept(false) default constructor does not make value initialization potentially throwing @ 2024-06-20 14:09 mital at mitalashok dot co.uk 2024-06-20 14:39 ` [Bug c++/115558] " pinskia at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: mital at mitalashok dot co.uk @ 2024-06-20 14:09 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115558 Bug ID: 115558 Summary: Trivial noexcept(false) default constructor does not make value initialization potentially throwing Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mital at mitalashok dot co.uk Target Milestone: --- This is related to DR2820 https://cplusplus.github.io/CWG/issues/2820.html struct X { X() noexcept(false) = default; }; static_assert(!noexcept(X())); // Should pass, but does not Similar to Bug 114844 and https://cplusplus.github.io/CWG/issues/2886.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/115558] Trivial noexcept(false) default constructor does not make value initialization potentially throwing 2024-06-20 14:09 [Bug c++/115558] New: Trivial noexcept(false) default constructor does not make value initialization potentially throwing mital at mitalashok dot co.uk @ 2024-06-20 14:39 ` pinskia at gcc dot gnu.org 2024-06-20 14:41 ` pinskia at gcc dot gnu.org 2024-06-24 17:08 ` mpolacek at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-06-20 14:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115558 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- See https://gcc.gnu.org/legacy-ml/gcc-patches/2019-09/msg00311.html . ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/115558] Trivial noexcept(false) default constructor does not make value initialization potentially throwing 2024-06-20 14:09 [Bug c++/115558] New: Trivial noexcept(false) default constructor does not make value initialization potentially throwing mital at mitalashok dot co.uk 2024-06-20 14:39 ` [Bug c++/115558] " pinskia at gcc dot gnu.org @ 2024-06-20 14:41 ` pinskia at gcc dot gnu.org 2024-06-24 17:08 ` mpolacek at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-06-20 14:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115558 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-06-20 Status|UNCONFIRMED |NEW --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I see this was just accepted as a defect report this year even: [Accepted as a DR at the March, 2024 meeting.] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/115558] Trivial noexcept(false) default constructor does not make value initialization potentially throwing 2024-06-20 14:09 [Bug c++/115558] New: Trivial noexcept(false) default constructor does not make value initialization potentially throwing mital at mitalashok dot co.uk 2024-06-20 14:39 ` [Bug c++/115558] " pinskia at gcc dot gnu.org 2024-06-20 14:41 ` pinskia at gcc dot gnu.org @ 2024-06-24 17:08 ` mpolacek at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: mpolacek at gcc dot gnu.org @ 2024-06-24 17:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115558 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Probably mine then; thanks for the report. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-24 17:08 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-06-20 14:09 [Bug c++/115558] New: Trivial noexcept(false) default constructor does not make value initialization potentially throwing mital at mitalashok dot co.uk 2024-06-20 14:39 ` [Bug c++/115558] " pinskia at gcc dot gnu.org 2024-06-20 14:41 ` pinskia at gcc dot gnu.org 2024-06-24 17:08 ` 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).