public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/82193] incorrectly rejects int x; struct { decltype(x) x; } f = {x}; [not found] <bug-82193-4@http.gcc.gnu.org/bugzilla/> @ 2023-01-29 3:04 ` pinskia at gcc dot gnu.org 2023-01-29 7:47 ` pinskia at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: pinskia at gcc dot gnu.org @ 2023-01-29 3:04 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82193 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mserdarsanli at gmail dot com --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- *** Bug 108587 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/82193] incorrectly rejects int x; struct { decltype(x) x; } f = {x}; [not found] <bug-82193-4@http.gcc.gnu.org/bugzilla/> 2023-01-29 3:04 ` [Bug c++/82193] incorrectly rejects int x; struct { decltype(x) x; } f = {x}; pinskia at gcc dot gnu.org @ 2023-01-29 7:47 ` pinskia at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: pinskia at gcc dot gnu.org @ 2023-01-29 7:47 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82193 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Just a quick note p1787 (https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html) moves around the place where it says no diagnostic is required but the effect is the same. it is now in [class.member.lookup]/7 (note in the draft C++23 standard it is /6). But GCC is still doing a valid diagnostic because of this. That is the standard didn't change in this area, just changed where the wording was. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-29 7:47 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-82193-4@http.gcc.gnu.org/bugzilla/> 2023-01-29 3:04 ` [Bug c++/82193] incorrectly rejects int x; struct { decltype(x) x; } f = {x}; pinskia at gcc dot gnu.org 2023-01-29 7:47 ` 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).