* expmed.c (store_bit_field): Assert that BITREGION_START is a multiple
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Mar 2012 10:35:55 +0000 (10:35 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Mar 2012 10:35:55 +0000 (10:35 +0000)
commit73041e9b577ea9e2cb769c0ca0230ab031f08ca5
treeafcd36162228e58e77087033fa077738a70aad88
parent20d97f0c9cab9bb1e13004c423695bdc41bd7ae5
* expmed.c (store_bit_field): Assert that BITREGION_START is a multiple
of a unit before computing the offset in units.
* expr.c (get_bit_range): Return the null range if the enclosing record
is part of a larger bit field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185857 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expmed.c
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/pack17.adb [new file with mode: 0644]