re PR middle-end/71310 (Bitfields cause load hit store with smaller store and larger...
authorRichard Biener <rguenther@suse.de>
Tue, 14 Jun 2016 07:26:52 +0000 (07:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 Jun 2016 07:26:52 +0000 (07:26 +0000)
commit585334d41d1a255f612d6470ba9b7bd383cdd5e4
treee7a306bcc65b98f0ce32db3ed56a02f801a9cc08
parent90b72e84c427d4e735ae98dc06fe84fc1ec8139b
re PR middle-end/71310 (Bitfields cause load hit store with smaller store and larger load)

2016-06-14  Richard Biener  <rguenther@suse.de>

PR middle-end/71310
PR bootstrap/71510
* expr.h (get_bit_range): Declare.
* expr.c (get_bit_range): Export.
* fold-const.c (optimize_bit_field_compare): Use get_bit_range and
word_mode again to constrain the bitfield access.

From-SVN: r237426
gcc/ChangeLog
gcc/expr.c
gcc/expr.h
gcc/fold-const.c