[Bug middle-end/71310] Bitfields cause load hit store with smaller store and larger load
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 14 07:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71310
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jun 14 07:26:52 2016
New Revision: 237426
URL: https://gcc.gnu.org/viewcvs?rev=237426&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/expr.h
trunk/gcc/fold-const.c
More information about the Gcc-bugs
mailing list