diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-28 20:13:22 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-28 20:13:22 +0000 |
| commit | 06bedae0473d8cbcc76725a6f7a7d052f58cd456 (patch) | |
| tree | aaafc068a028daa1ab2ecddaa3afa63e83019d13 /libjava/classpath/lib/java/beans/Encoder.class | |
| parent | 5475e2d3733ee98a279d98e9fe15fcff58f1a215 (diff) | |
| download | ppe42-gcc-06bedae0473d8cbcc76725a6f7a7d052f58cd456.tar.gz ppe42-gcc-06bedae0473d8cbcc76725a6f7a7d052f58cd456.zip | |
gcc/
PR middle-end/55438
* expmed.c (simple_mem_bitfield_p): New function, extracted from
store_bit_field_1 and extract_bit_field_1. Use GET_MODE_ALIGNMENT
rather than bitsize when checking the alignment.
(store_bit_field_1, extract_bit_field_1): Call it.
* stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator):
Don't limit ALIGN_. Assume that memory is mapped in chunks of at
least word size, regardless of BIGGEST_ALIGNMENT.
(bit_field_mode_iterator::get_mode): Use GET_MODE_ALIGNMENT rather
than unit when checking the alignment.
(get_best_mode): Use GET_MODE_ALIGNMENT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/java/beans/Encoder.class')
0 files changed, 0 insertions, 0 deletions

