Avoid ICE when the alias is ill-formed. 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. Andrew Sutton
0001-Don-t-segfault-on-error-PR-c-89913.patch
Description: Binary data