[patch] c-decl.c: grokdeclarator for aligned arrays

DJ Delorie dj@redhat.com
Thu Dec 7 15:48:00 GMT 2000


> On Thu, Dec 07, 2000 at 04:04:08PM -0500, DJ Delorie wrote:
> > + 	    if (TYPE_ALIGN (type) < saved_align)
> > + 	      TYPE_ALIGN (type) = saved_align;
> 
> Why this test instead of a direct assignment?

What if the old align is smaller than the new?  (or maybe that's
something worth preserving?)

If nobody can think of a case where a type_qual should affect the
alignment of a type, I can change it to a direct assignment.


More information about the Gcc-patches mailing list