This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jun 2018 16:47:26 +0000
- Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
- Auto-submitted: auto-generated
- References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 16:46:54 2018
New Revision: 262030
URL: https://gcc.gnu.org/viewcvs?rev=262030&root=gcc&view=rev
Log:
Backported from mainline
2017-10-12 Jakub Jelinek <jakub@redhat.com>
PR c++/82159
* expr.c (store_field): Don't optimize away bitsize == 0 store
from CALL_EXPR with addressable return type.
* g++.dg/opt/pr82159-2.C: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr82159-2.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/expr.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog