[Bug c++/94597] [10 Regression] ICE while using a concept checking for user defined conversion operator since r10-3735-gcb57504a55015891
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 21 15:05:35 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94597
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed.
I think the reduced testcase in #c1 is invalid as-is -- the requirement
"e.operator c;" should be "e.operator c();", because according to [expr.ref]:
[The expression E1.E2 where E2 refers to a non-static member function] can
be used only as the left-hand operand of a member function call.
I committed the reduced testcase with that change.
More information about the Gcc-bugs
mailing list