[Bug c++/89913] [8/9/10 Regression] ICE with invalid using declaration

2019-11-19 Thread asutton at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89913

--- Comment #5 from asutton at gcc dot gnu.org ---
Author: asutton
Date: Tue Nov 19 15:26:16 2019
New Revision: 278451

URL: https://gcc.gnu.org/viewcvs?rev=278451&root=gcc&view=rev
Log:
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.


Added:
trunk/gcc/testsuite/g++.dg/cpp2a/pr89913.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog

[Bug c++/89913] [8/9/10 Regression] ICE with invalid using declaration

2019-11-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89913

Eric Gallager  changed:

   What|Removed |Added

   Keywords||patch
URL||https://gcc.gnu.org/ml/gcc-
   ||patches/2019-11/msg01429.ht
   ||ml
 CC||egallager at gcc dot gnu.org
 Blocks|67491   |
Summary|[8/9/10 Regression] |[8/9/10 Regression] ICE
   |[concepts] ICE with invalid |with invalid using
   |using declaration   |declaration
   Severity|normal  |minor

--- Comment #4 from Eric Gallager  ---
(In reply to Andrew Sutton from comment #3)
> This isn't strictly related to concepts.

ok, removing that part then.

> 
> Resolution posted here:
> 
> https://gcc.gnu.org/ml/gcc-patches/2019-11/msg01429.html
> 
> The tests target C++20, but this could be extended back to C++11. However,
> the diagnostic is different for pre-C++20.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
[Bug 67491] [meta-bug] concepts issues