This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fixes PR c++/89913


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

Attachment: 0001-Don-t-segfault-on-error-PR-c-89913.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]