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++/82159] [6/7/8 Regression] ICE: in assign_temp, at function.c:961


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 27 14:19:57 2017
New Revision: 253230

URL: https://gcc.gnu.org/viewcvs?rev=253230&root=gcc&view=rev
Log:
        PR c++/82159
        * gimplify.c (gimplify_modify_expr): Don't optimize away zero sized
        lhs from calls if the lhs has addressable type.

        * g++.dg/opt/pr82159.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr82159.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog

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