Make sure we aren't trying to do a nested instantiation in template context.
authorJason Merrill <jason@redhat.com>
Thu, 10 May 2018 18:40:55 +0000 (14:40 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 10 May 2018 18:40:55 +0000 (14:40 -0400)
commit5d7b4c6fe9b1d69417c0c2e8f618603d2d93b2d3
tree440202afd9ddb6359559ec2b10e74c8d13a0be22
parent1e6da0c98398b96378eb22db915b0df2d5a3aa4a
Make sure we aren't trying to do a nested instantiation in template context.

* pt.c (instantiate_decl): Make sure we aren't trying to do a nested
instantiation in template context.

From-SVN: r260124
gcc/cp/ChangeLog
gcc/cp/pt.c