diff options
author | ppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-03-12 02:05:17 +0000 |
---|---|---|
committer | ppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-03-12 02:05:17 +0000 |
commit | 490ee78a39cc213839d963d7917937839b8b4dec (patch) | |
tree | 7b8e32914e63bd23bcc66a087cddb1cb38304ba9 /gcc/explow.c | |
parent | 5dbb9352a6e874ae15f13a238b291e390ec0fa6c (diff) | |
download | gcc-490ee78a39cc213839d963d7917937839b8b4dec.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234159 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/explow.c')
0 files changed, 0 insertions, 0 deletions