IA64 alignment problem / how to fix?

Steve Ellcey sje@cup.hp.com
Thu Jan 20 18:48:00 GMT 2005


> From rth@redhat.com  Thu Jan 20 10:16:32 2005
> On Thu, Jan 20, 2005 at 09:26:41AM -0800, Steve Ellcey wrote:
> > As to move_block_from_reg, it looks like the only places it gets called
> > from are in function.c and I *think* that if ia64_function_arg and
> > ia64_function_value always return PARALLEL's for aggregates then
> > move_block_from_reg will never get called to copy aggregates (or for
> > anything else as near as I can tell).
> 
> Yes, leaving the move_block_from_reg bug hanging around for someone
> else to find.  Why don't we just fix it?  All that means is using
> store_bit_field instead of emit_move_insn.

Ah, I didn't realize you wanted to do it on all platforms.  Do you think
we should take STRICT_ALIGNMENT in to account?  My first inclination
would be to call store_bit_field only when STRICT_ALIGNMENT is set.

Steve Ellcey
sje@cup.hp.com



More information about the Gcc mailing list