This is the mail archive of the 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, GCC 4.7] Backport fix for PR tree-optimization/53708

On Tue, 2012-10-30 at 19:55 +0100, Jakub Jelinek wrote:
> On Tue, Oct 30, 2012 at 01:43:33PM -0500, Peter Bergner wrote:
> > Commenting on Richard's question from the bugzilla:
> > 
> >
> > 
> > I suppose if attribute((__aligned__)) truly does just set a minimum alignment
> > value (and the documentation seems to say that) and the compiler is free to
> > arbitrarily increase it, then the GLIBC code to scan the init_array needs to
> > be tolerant of null values in init_array.
> > 
> > Does everyone agree with that assessment?
> I think the right test is for user supplied section name,
> this approach is so common that I think we have to support it.
> E.g. Linux kernel, glibc, prelink all use this, gcc itself too (e.g.
> crtstuff.c).

Ok, then I'll bootstrap and regtest your suggested change while we
wait for richi to comment.  I'm fine with whatever you and richi
decide is best.  The ObjC guys should probably test it though too.

I assume you think we should change the current trunk code as well?


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