patch: vector_size attribute

Richard Henderson rth@redhat.com
Thu Dec 6 15:06:00 GMT 2001


On Thu, Dec 06, 2001 at 03:01:17PM -0800, Aldy Hernandez wrote:
> 	* stor-layout.c (layout_decl): Reset the decl's mode.

There is a very large comment above this saying why this shouldn't be
done.  If you want to force this to change, you'll need to reset the
decl's mode before calling layout_decl again.  IIRC, you'll also need
to clear DECL_SIZE.

If you aren't doing so now, you should be checking sizeof(decl) in
your test case.


r~



More information about the Gcc-patches mailing list