This is the mail archive of the
mailing list for the GCC project.
Re: IA64 alignment problem / how to fix?
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 20 Jan 2005 10:30:57 -0800 (PST)
- Subject: Re: IA64 alignment problem / how to fix?
> From email@example.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.