https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113141
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to Sergei Trofimovich from comment #4)
> Noticed a similar ICE in openmvs-2.2.0 against gcc-13/gcc-14. I reduced it
> with cvise into something invalid:
Interesting, this can be turned into a ice-on-valid testcase:
struct Matrix { };
struct TPoint3 { operator const Matrix(); };
int main() {
TPoint3 X;
Matrix& m = (Matrix &)X;
}