[Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 16:43:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 16:43:16 2018
New Revision: 262026
URL: https://gcc.gnu.org/viewcvs?rev=262026&root=gcc&view=rev
Log:
Backported from mainline
2017-09-27 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr82159.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/gimplify.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list