OSDN Git Service

PR middle-end/19858
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Feb 2005 21:08:44 +0000 (21:08 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Feb 2005 21:08:44 +0000 (21:08 +0000)
commit85453a5719e78826fee2e230bf49acc79fe32b2c
tree7fae11a3fb3ae2fe3eb5779237227483c916e792
parentfc08c6193b2af2a93c46c9fd69c39bc3a2cfeac9
PR middle-end/19858
* fold-const.c (make_bit_field_ref): If bitpos == 0 and bitsize
is number of inner's bits, avoid creating a BIT_FIELD_REF.

* gcc.c-torture/compile/20050210-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94892 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20050210-1.c [new file with mode: 0644]