PR c++/71406 - ICE with scope-ref'd template id exprs
authorNathan Sidwell <nathan@acm.org>
Mon, 23 Jan 2017 20:19:07 +0000 (20:19 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 23 Jan 2017 20:19:07 +0000 (20:19 +0000)
commite6b8075ccec830041e8c85fc50d9eee6364263f7
tree6d185076c63ade495449e9ba441bf6257db63d2c
parent15b8fd499dd07627a78253ab722cc9049d86d68a
PR c++/71406 - ICE with scope-ref'd template id exprs

PR c++/71406 - ICE with scope-ref'd template id exprs
PR c++/77508
* typeck.c (finish_class_member_access_expr): Break up SCOPE_REF
before breaking up TEMPLATE_ID_EXPR.

PR c++/71406
PR c++/77508
* g++.dg/template/pr71406.C: New.

From-SVN: r244832
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr71406.C [new file with mode: 0644]