public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/107211] New: GCC compiles invalid use of non static member function in noexcept operator @ 2022-10-11 7:23 jlame646 at gmail dot com 2022-10-11 10:17 ` [Bug c++/107211] [10/11/12/13 Regression] " redi at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: jlame646 at gmail dot com @ 2022-10-11 7:23 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107211 Bug ID: 107211 Summary: GCC compiles invalid use of non static member function in noexcept operator Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jlame646 at gmail dot com Target Milestone: --- The following invalid program is accepted by gcc trunk. Demo: https://godbolt.org/z/fez5GqKdT ``` struct C { void func() noexcept { } void f() noexcept(noexcept(C::func)) //gcc compiles this { } }; ``` This has been discussed here: https://stackoverflow.com/questions/74024368/gcc-compiles-use-of-noexcept-operator-but-clang-and-msvc-rejects-it ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/107211] [10/11/12/13 Regression] GCC compiles invalid use of non static member function in noexcept operator 2022-10-11 7:23 [Bug c++/107211] New: GCC compiles invalid use of non static member function in noexcept operator jlame646 at gmail dot com @ 2022-10-11 10:17 ` redi at gcc dot gnu.org 2022-10-18 7:52 ` rguenth at gcc dot gnu.org 2023-07-07 10:44 ` [Bug c++/107211] [11/12/13/14 " rguenth at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2022-10-11 10:17 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107211 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2022-10-11 Priority|P3 |P2 Known to work| |8.5.0 Summary|GCC compiles invalid use of |[10/11/12/13 Regression] |non static member function |GCC compiles invalid use of |in noexcept operator |non static member function | |in noexcept operator Known to fail| |10.4.1, 11.3.1, 12.2.1, | |13.0, 9.5.0 Keywords| |accepts-invalid Status|UNCONFIRMED |NEW --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Started with r9-4187-g205d542ad55d8d re PR c++/52869 ([DR 1207] "this" not being allowed in noexcept clauses) ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/107211] [10/11/12/13 Regression] GCC compiles invalid use of non static member function in noexcept operator 2022-10-11 7:23 [Bug c++/107211] New: GCC compiles invalid use of non static member function in noexcept operator jlame646 at gmail dot com 2022-10-11 10:17 ` [Bug c++/107211] [10/11/12/13 Regression] " redi at gcc dot gnu.org @ 2022-10-18 7:52 ` rguenth at gcc dot gnu.org 2023-07-07 10:44 ` [Bug c++/107211] [11/12/13/14 " rguenth at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-10-18 7:52 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107211 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.5 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/107211] [11/12/13/14 Regression] GCC compiles invalid use of non static member function in noexcept operator 2022-10-11 7:23 [Bug c++/107211] New: GCC compiles invalid use of non static member function in noexcept operator jlame646 at gmail dot com 2022-10-11 10:17 ` [Bug c++/107211] [10/11/12/13 Regression] " redi at gcc dot gnu.org 2022-10-18 7:52 ` rguenth at gcc dot gnu.org @ 2023-07-07 10:44 ` rguenth at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-07-07 10:44 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107211 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.5 |11.5 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 10 branch is being closed. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-07 10:44 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-10-11 7:23 [Bug c++/107211] New: GCC compiles invalid use of non static member function in noexcept operator jlame646 at gmail dot com 2022-10-11 10:17 ` [Bug c++/107211] [10/11/12/13 Regression] " redi at gcc dot gnu.org 2022-10-18 7:52 ` rguenth at gcc dot gnu.org 2023-07-07 10:44 ` [Bug c++/107211] [11/12/13/14 " rguenth 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).