public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16191] Note for missing 'template' reports wrong template parameter
       [not found] <bug-16191-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-23  0:13 ` pinskia at gcc dot gnu.org
  2021-08-23  0:18 ` pinskia at gcc dot gnu.org
  2021-08-23  9:34 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-23  0:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16191

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm, this code started be accepted in GCC 10+; I suspect by the fix for PR
94057.
was that really expected?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/16191] Note for missing 'template' reports wrong template parameter
       [not found] <bug-16191-4@http.gcc.gnu.org/bugzilla/>
  2021-08-23  0:13 ` [Bug c++/16191] Note for missing 'template' reports wrong template parameter pinskia at gcc dot gnu.org
@ 2021-08-23  0:18 ` pinskia at gcc dot gnu.org
  2021-08-23  9:34 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-23  0:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16191

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like the resolution of DR1710 (though it was supposed to be C++17+)
causes the code without the template to be accepted which means this should be
rejected for C++98, C++03, C++11 and C++14 ....

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/16191] Note for missing 'template' reports wrong template parameter
       [not found] <bug-16191-4@http.gcc.gnu.org/bugzilla/>
  2021-08-23  0:13 ` [Bug c++/16191] Note for missing 'template' reports wrong template parameter pinskia at gcc dot gnu.org
  2021-08-23  0:18 ` pinskia at gcc dot gnu.org
@ 2021-08-23  9:34 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2021-08-23  9:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16191

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
CWG 1710 was approved as a defect report in Kona 2016:

> Move to accept as Defect Reports the issues in P0575R1 (Core Language "ready"
> issues) and apply their proposed resolutions to the C++ working paper. 

So it's correct that it applies to previous standards too.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-23  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-16191-4@http.gcc.gnu.org/bugzilla/>
2021-08-23  0:13 ` [Bug c++/16191] Note for missing 'template' reports wrong template parameter pinskia at gcc dot gnu.org
2021-08-23  0:18 ` pinskia at gcc dot gnu.org
2021-08-23  9:34 ` redi 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).