public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/57346] g++ prematurely rejects references to local variables that are not odr-uses from local classes inside templates [not found] <bug-57346-4@http.gcc.gnu.org/bugzilla/> @ 2021-07-24 17:10 ` pinskia at gcc dot gnu.org 2024-02-06 13:31 ` mpolacek at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-07-24 17:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57346 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tangyixuan at mail dot dlut.edu.cn --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- *** Bug 97200 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/57346] g++ prematurely rejects references to local variables that are not odr-uses from local classes inside templates [not found] <bug-57346-4@http.gcc.gnu.org/bugzilla/> 2021-07-24 17:10 ` [Bug c++/57346] g++ prematurely rejects references to local variables that are not odr-uses from local classes inside templates pinskia at gcc dot gnu.org @ 2024-02-06 13:31 ` mpolacek at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: mpolacek at gcc dot gnu.org @ 2024-02-06 13:31 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57346 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> --- The error comes from process_outer_var_ref. Maybe it should not be given when in processing_template_decl. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-06 13:31 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-57346-4@http.gcc.gnu.org/bugzilla/> 2021-07-24 17:10 ` [Bug c++/57346] g++ prematurely rejects references to local variables that are not odr-uses from local classes inside templates pinskia at gcc dot gnu.org 2024-02-06 13:31 ` 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).