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: libsanitizer merge from upstream r218156


On Tue, Sep 23, 2014 at 11:03:55AM -0700, Konstantin Serebryany wrote:
> > OT, will you please look at the underaligned asan malloc etc.?  GCC assumes
> > that even malloc (1) or malloc (7) is sizeof (void *) aligned on Linux
> > (and can and will assume 2 * sizeof (void *) alignment hopefully soon).
> 
> What's wrong here?
> I am pretty confident that asan's malloc always returns 16-aligned pointers.

Sorry, that was just my guess, I haven't really analyzed PR63316 before
writing this.  Analyzed it now and fixed.

	Jakub


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