On Jun 26, 2006, at 2:07 AM, Richard Guenther wrote:

 So even
(len + sizeof (struct tree_string)) & ~__alignof__(struct tree_string)
might magically work in every case.

Of course using __alignof__ is wrong in GCC sources since that would mean
you have to use GCC to bootstrap with which is not documented.

But this does not explain PPC-Darwin's problem as PPC is not a STRICT_ALIGNMENT target. So either we are allocating too little or someone is going past an array bounds somewhere.

-- Pinski

Reply via email to