This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [2/8] Add adjust_bitfield_address_size


> Tested as described in the covering note.  OK to install?
> 
> Richard
> 
> 
> gcc/
> 	* expr.h (adjust_address_1): Add a size parameter.
> 	(adjust_address, adjust_address_nv, adjust_bitfield_address)
> 	(adjust_bitfield_address_nv): Adjust accordingly.
> 	(adjust_bitfield_address_size): Define.
> 	* emit-rtl.c (adjust_address_1): Add a size parameter.
> 	Use it to set the size if MODE has no size.  Check whether
> 	the size matches before returning the original memref.
> 	Require the size to be known for adjust_object.
> 	(adjust_automodify_address_1, widen_memory_access): Update calls
> 	to adjust_address_1.

No objections by me.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]