re PR middle-end/51994 (git-1.7.8.3 miscompiled due to negative bitpos from get_inner...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 7 Feb 2012 17:21:36 +0000 (17:21 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 7 Feb 2012 17:21:36 +0000 (17:21 +0000)
commitf22cfd73cd9eece5e426ddfe745f998ffc665945
tree051e03d16190d715181a74c0cea2613985c0cdd3
parent13a72c0ba3e023f0f585654ed389c76efd4c1590
re PR middle-end/51994 (git-1.7.8.3 miscompiled due to negative bitpos from get_inner_reference)

PR middle-end/51994
* expr.c (get_inner_reference): If there is an offset, add a negative
bit position to it (if any).

From-SVN: r183974
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20120207-1.c [new file with mode: 0644]