[Bug c++/125188] Incorrect result of decltype(auto) on parenthesized class type template parameter

"ppalka at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125188

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
           Keywords|                            |easyhack

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Seems we aren't preserving the extra pair of parenthesis of ... = (X) in the
AST, which makes a difference for decltype(auto) deduction. force_paren_expr
should be returning a PAREN_EXPR here.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.