]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
Fix PR c++/70106 (type of parenthesized qualified-id has wrong cv-qualifiers)
authorPatrick Palka <ppalka@gcc.gnu.org>
Sat, 12 Mar 2016 02:05:17 +0000 (02:05 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Sat, 12 Mar 2016 02:05:17 +0000 (02:05 +0000)
commit3f1e5d3afe4d01a277747fe74fc01859139576ca
tree7b8e32914e63bd23bcc66a087cddb1cb38304ba9
parentc1e884652647c950afed64c13d66d55f40100244
Fix PR c++/70106 (type of parenthesized qualified-id has wrong cv-qualifiers)

gcc/cp/ChangeLog:

PR c++/70106
* semantics.c (force_paren_expr): Just build a PAREN_EXPR when
processing_template_decl and EXPR is a SCOPE_REF.

gcc/testsuite/ChangeLog:

PR c++/70106
* g++.dg/cpp1y/paren3.C: New test.

From-SVN: r234159
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/paren3.C [new file with mode: 0644]