]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/65680 (ICE at -O1 and above on x86_64-linux-gnu in expand_assignment...
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Apr 2015 14:34:06 +0000 (16:34 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Apr 2015 14:34:06 +0000 (16:34 +0200)
commitdcc72b9e73852d9e3b5f40c6dc51da12c444d699
treef42a807458e5c2d2ddd09d1038d0bf44d207f68c
parent440f9408ea950a29ef7606b6114d84d1a5b53c90
re PR middle-end/65680 (ICE at -O1 and above on x86_64-linux-gnu in expand_assignment, at expr.c:4830)

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.

From-SVN: r221899
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr65680.c [new file with mode: 0644]