public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/84373] g++ incorrectly resolves names for default parameters
       [not found] <bug-84373-4@http.gcc.gnu.org/bugzilla/>
@ 2023-01-19  4:36 ` pinskia at gcc dot gnu.org
  2023-01-19  4:38 ` pinskia at gcc dot gnu.org
  2024-04-04  6:59 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-19  4:36 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-01-19
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html


Confirmed.

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

* [Bug c++/84373] g++ incorrectly resolves names for default parameters
       [not found] <bug-84373-4@http.gcc.gnu.org/bugzilla/>
  2023-01-19  4:36 ` [Bug c++/84373] g++ incorrectly resolves names for default parameters pinskia at gcc dot gnu.org
@ 2023-01-19  4:38 ` pinskia at gcc dot gnu.org
  2024-04-04  6:59 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-19  4:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html
> 
> 
> Confirmed.

I should note that paper clearifies this to the tea now:
A parameter shall not appear as a potentially-evaluated expression in a default
argument.

Also note that paper is considered a defect fix for at least C++20.

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

* [Bug c++/84373] g++ incorrectly resolves names for default parameters
       [not found] <bug-84373-4@http.gcc.gnu.org/bugzilla/>
  2023-01-19  4:36 ` [Bug c++/84373] g++ incorrectly resolves names for default parameters pinskia at gcc dot gnu.org
  2023-01-19  4:38 ` pinskia at gcc dot gnu.org
@ 2024-04-04  6:59 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-04  6:59 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 62244.

*** This bug has been marked as a duplicate of bug 62244 ***

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

end of thread, other threads:[~2024-04-04  6:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-84373-4@http.gcc.gnu.org/bugzilla/>
2023-01-19  4:36 ` [Bug c++/84373] g++ incorrectly resolves names for default parameters pinskia at gcc dot gnu.org
2023-01-19  4:38 ` pinskia at gcc dot gnu.org
2024-04-04  6:59 ` 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).