[Bug target/35271] Stack not aligned at mod 16 byte boundary in x86_64 code

hubicka at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 23 12:58:00 GMT 2008



------- Comment #10 from hubicka at gcc dot gnu dot org  2008-02-23 12:57 -------
Hi,
as I added to the gcc-patches thread, I think GCC is valid to optimize stack
alignment on the reduced testcase and it is precisely what is supposed to be
done by the code Michael disabled. ABI is not strict about the alignment (or
call convention) requirement for local calls, just for external calls.

It would be good to know the testcase where the misalignment leads to ICE: it
seems that elsewhere we forget to maintain cfun->preferred_stack_boundary when
we are expanding the vector code needing the alignment for real.

Honza


-- 


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



More information about the Gcc-bugs mailing list