Problem in hfa_element_mode for IA64
Florian Weimer
fw@deneb.enyo.de
Sun Mar 31 16:06:00 GMT 2002
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> > But Arr1 is SImode since layout_type sets its mode to an integer mode.
>
> This seems weird.
>
> Why? We do it for records.
>
> Suppose we have an array of two chars with alignment of two bytes. Shouldn't
> it be HImode?
Wouldn't this mean that two consecutive writes to both characters are
combined into a single halfword write?
More information about the Gcc
mailing list