This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/85141] [6/7/8 Regression] ICE with pointer arithmetic of static member function address


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]