re PR c++/60409 ([c++1y] ICE on valid with template function)
authorJason Merrill <jason@redhat.com>
Wed, 5 Mar 2014 19:25:37 +0000 (14:25 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 5 Mar 2014 19:25:37 +0000 (14:25 -0500)
commitf9b381b8eb56252e302b88ea4fe89beffc33cf80
tree7b4f45e6fb8c0e4218f6f4caff40f24636a51154
parent5d264d62dc6d381510bea36469d50175fa6a39c2
re PR c++/60409 ([c++1y] ICE on valid with template function)

PR c++/60409
* semantics.c (force_paren_expr): Only add a PAREN_EXPR to a
dependent expression.

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