https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85137

Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arthur.j.odwyer at gmail dot 
com

--- Comment #2 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
Here's another crash in the same vicinity, probably the same bug.

// https://concepts.godbolt.org/z/DSIz-y
template<class> concept C = true;
template<class> concept D = ;

template<C T> struct foo;
template<D T> struct foo<T> {};

% g++ -std=c++2a -fconcepts -Dconcept="concept bool"
[...]
internal compiler error: in non_atomic_constraint_p, at cp/logic.cc:321
    5 | template<D T> struct foo<T> {};
      |                      ^~~~~~

Reply via email to