This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove TYPE_IS_SIZETYPE


On Fri, 11 May 2012, Olivier Hainque wrote:

> 
> On May 10, 2012, at 14:00 , Richard Guenther wrote:
> > Of course the mere existence
> > of DECL_OFFSET_ALIGN complicates matters for no good reasons (well,
> > at least I did not find a good use of it until now ...).
> 
> I remember an old discussion about it ... hmm ...
>  
>    http://gcc.gnu.org/ml/gcc/2006-10/msg00019.html
> 
>  JIC that could be of use.

Of course we just recently found out that DECL_OFFSET_ALIGN is
relative to the structure start - thus for Ada bit-aligned
sturctures it is "nonsense" (it says 128 but in fact the
offset is at 1 bit alignment).

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]