[Bug c++/85141] [6/7/8 Regression] ICE with pointer arithmetic of static member function address
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 08:08:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85141
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not really sure what can be done here, perhaps stabilize_expr could for these
FUNCTION_TYPE exp try to create a TARGET_EXPR for the address of
COMPONENT_REF's first operand and only keep the COMPONENT_REF with BASELINK and
optional NON_LVALUE_EXPR wrapping it in the returned expressio rather than also
in the TARGET_EXPR?
More information about the Gcc-bugs
mailing list