diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-26 14:58:34 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-26 14:58:34 +0000 |
commit | aedd07a7130263ca331092f00ae6248017b69f2a (patch) | |
tree | aa76381885409572a4b6e89bce34c27e9ce000c8 /gcc/tree-optimize.c | |
parent | 011ea7b8e3578f64304596a5bdf4ddba44534e86 (diff) | |
download | ppe42-gcc-aedd07a7130263ca331092f00ae6248017b69f2a.tar.gz ppe42-gcc-aedd07a7130263ca331092f00ae6248017b69f2a.zip |
PR middle-end/17112
* stor-layout.c (compute_record_mode): For records with a single
field, only use the field's mode if its size matches what we'd
have choosen for the record ourselves. This forces the use of
BLKmode for packed records that don't completely fill a mode.
* gcc.dg/pr17112-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88130 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-optimize.c')
0 files changed, 0 insertions, 0 deletions