PR c++/80562 - ICE with constexpr if.
authorJason Merrill <jason@redhat.com>
Mon, 19 Jun 2017 20:55:27 +0000 (16:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 19 Jun 2017 20:55:27 +0000 (16:55 -0400)
commit66d052d5cb17463441615988fd2bbbeb292dfd04
treecf658c862ef492ee93f6b8be13890aaeacb72714
parentecc5761533690734622d57cbe25914c44d7913e1
PR c++/80562 - ICE with constexpr if.

* semantics.c (finish_if_stmt_cond): Call
instantiate_non_dependent_expr.

From-SVN: r249387
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp1z/constexpr-if12.C [new file with mode: 0644]