------- 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