public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/80521] Wrong line reported in error for missing template argument in friend class declaration. [not found] <bug-80521-4@http.gcc.gnu.org/bugzilla/> @ 2021-12-02 5:36 ` pinskia at gcc dot gnu.org 2021-12-02 5:41 ` pinskia at gcc dot gnu.org 2021-12-09 8:55 ` marxin at gcc dot gnu.org 2 siblings, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-12-02 5:36 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80521 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Both testcases seems to be fixed in GCC 9+. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/80521] Wrong line reported in error for missing template argument in friend class declaration. [not found] <bug-80521-4@http.gcc.gnu.org/bugzilla/> 2021-12-02 5:36 ` [Bug c++/80521] Wrong line reported in error for missing template argument in friend class declaration pinskia at gcc dot gnu.org @ 2021-12-02 5:41 ` pinskia at gcc dot gnu.org 2021-12-09 8:55 ` marxin at gcc dot gnu.org 2 siblings, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-12-02 5:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80521 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The first testcase produces: <source>:41:8: error: 'ProducerAccess' is not a template 41 | struct ProducerAccess { | ^~~~~~~~~~~~~~ <source>:14:16: note: previous declaration here 14 | friend class ProducerAccess; | ^~~~~~~~~~~~~~ Which is exactly what you expect. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/80521] Wrong line reported in error for missing template argument in friend class declaration. [not found] <bug-80521-4@http.gcc.gnu.org/bugzilla/> 2021-12-02 5:36 ` [Bug c++/80521] Wrong line reported in error for missing template argument in friend class declaration pinskia at gcc dot gnu.org 2021-12-02 5:41 ` pinskia at gcc dot gnu.org @ 2021-12-09 8:55 ` marxin at gcc dot gnu.org 2 siblings, 0 replies; 3+ messages in thread From: marxin at gcc dot gnu.org @ 2021-12-09 8:55 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80521 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Keywords|needs-bisection | Status|UNCONFIRMED |RESOLVED CC| |marxin at gcc dot gnu.org --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Fixed with r9-1493-g8945521a50a7dd26. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-09 8:55 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-80521-4@http.gcc.gnu.org/bugzilla/> 2021-12-02 5:36 ` [Bug c++/80521] Wrong line reported in error for missing template argument in friend class declaration pinskia at gcc dot gnu.org 2021-12-02 5:41 ` pinskia at gcc dot gnu.org 2021-12-09 8:55 ` marxin 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).