[Bug c++/83756] gcc (mingw64) 7.2.0 ICE in gimplify_expr on boost::call_once
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 2 07:58:19 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83756
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-12-02
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is not the best reduced testcase because the original one was accepted
without -fms-extensions.
template <class Fp, class A0>
auto invoke(Fp && f, A0 && a0) -> decltype(*(a0).*f)
{
return (*(a0)).*f;
}
struct A{ void doB(); };
void g()
{
A a;
invoke(&A::doB, &a);
}
---- CUT ----
Let me find one which is accepted with -fms-extensions.
More information about the Gcc-bugs
mailing list