re PR c++/83204 (c++ -std=c++14 ICE in maybe_undo_parenthesized_ref, at cp/semantics...
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 8 Feb 2018 09:06:33 +0000 (09:06 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 8 Feb 2018 09:06:33 +0000 (09:06 +0000)
commit66a90e86694bdcfc674bfa5951d10088fc5b41a8
treedab98eb6e79d3bf8ebe3ae7cfc624718b2f0fb30
parentf986f7e4bbeba1a8478ccc88aebc34d3eb97286b
re PR c++/83204 (c++ -std=c++14 ICE in maybe_undo_parenthesized_ref, at cp/semantics.c:1694)

/cp
2018-02-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/83204
* pt.c (tsubst_copy_and_build): Use force_paren_expr for INDIRECT_REF.

/testsuite
2018-02-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/83204
* g++.dg/cpp0x/lambda/lambda-ice25.C: New.

From-SVN: r257478
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice25.C [new file with mode: 0644]