[Bug target/17180] [3.4 Regression] nearly all g77 tests fail

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 31 10:35:00 GMT 2004


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-08-31 10:35 -------
> i don't know how to ensure that the result stays on a 64 bit boundary:
> 
> ptr = ptr + sizeof(mallocArea_*);
> 
> other than to make the offset 64 bits for everyone.

I think the correct approach is to round to a BIGGEST_ALIGNMENT boundary.  I'm
testing the patch on x86 and SPARC32/64.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17180



More information about the Gcc-bugs mailing list