https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108479
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Summary|Internal compiler error: in |ICE in type_memfn_rqual, at
|type_memfn_rqual, at |cp/typeck.cc:10994
|cp/typeck.cc:10994 |
Keywords| |ice-on-invalid-code
CC| |jason at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
Last reconfirmed| |2023-01-23
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, reduced test-case:
$ cat pr108479.C
template <typename> struct Foo {
~Foo()
requires is_scalarvalue;
~Foo()
requires is_unionvalue;
};
Foo<int> foo3 {};
It's there since -fconcepts were added.