[Bug c++/86738] [8/9 Regression] gcc 8.2: Internal compiler error memcpy

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 31 15:38:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86738

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Bisection points to r259458:

        PR c++/84463
        * typeck.c (cp_build_addr_expr_1): Move handling of offsetof-like
        tricks from here to ...
        * cp-gimplify.c (cp_fold) <case ADDR_EXPR>: ... here.  Only use it
        if INDIRECT_REF's operand is INTEGER_CST cast to pointer type.


More information about the Gcc-bugs mailing list