This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/65680] [4.8/4.9 Regression] ICE at -O1 and above on x86_64-linux-gnu in expand_assignment, at expr.c:4830
- 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: Wed, 03 Jun 2015 15:33:24 +0000
- Subject: [Bug middle-end/65680] [4.8/4.9 Regression] ICE at -O1 and above on x86_64-linux-gnu in expand_assignment, at expr.c:4830
- Auto-submitted: auto-generated
- References: <bug-65680-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65680
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jun 3 15:32:52 2015
New Revision: 224091
URL: https://gcc.gnu.org/viewcvs?rev=224091&root=gcc&view=rev
Log:
Backported from mainline
2015-04-07 Jakub Jelinek <jakub@redhat.com>
PR middle-end/65680
* expr.c (get_inner_reference): Handle bit_offset that doesn't fit
into signed HOST_WIDE_INT the same as negative bit_offset.
* gcc.c-torture/compile/pr65680.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/compile/pr65680.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/expr.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog