PR c++/83714 - ICE checking return in template.
authorJason Merrill <jason@redhat.com>
Tue, 16 Jan 2018 23:05:39 +0000 (18:05 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 16 Jan 2018 23:05:39 +0000 (18:05 -0500)
commit035181c3129648328176cbdee69d2a7a66e0a895
tree52222d646004e51cbef2853abbca932c13a1bbd8
parenta9db08a673d3088d8e60663e2b9643e8ad41b1cf
PR c++/83714 - ICE checking return in template.

* typeck.c (check_return_expr): Call build_non_dependent_expr.

From-SVN: r256765
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/cpp0x/alias-decl-61.C [new file with mode: 0644]