re PR c++/89913 (ICE with invalid using declaration)
authorAndrew Sutton <asutton@lock3software.com>
Tue, 19 Nov 2019 15:26:16 +0000 (15:26 +0000)
committerAndrew Sutton <asutton@gcc.gnu.org>
Tue, 19 Nov 2019 15:26:16 +0000 (15:26 +0000)
commitc286fb4ed5706cb4de40da0eb798e31bb16eb05b
tree368e324d523f233f75edaa2df20555cc5db5596e
parentcce3c9db9e6ffad764504134336c714a90416e8d
re PR c++/89913 (ICE with invalid using declaration)

PR c++/89913

gcc/cp/
* pt.c (get_underlying_template): Exit loop if the original type
of the alias is null.

gcc/testsuite/
* g++.dg/cpp2a/pr89913.C: New test.

From-SVN: r278451
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp2a/pr89913.C [new file with mode: 0644]