------- Additional Comments From rth at gcc dot gnu dot org 2004-12-21 17:25 ------- If movaps crashes in main, it means your libc is broken and isn't aligning the stack before main. GCC does add some code to main to realign the end of the stack, but that doesn't help main itself. You'd have to move your code to a new function like so:
static int __attribute__((noinline)) main1 (int ac, char **av) { /* whatever */ } int main(int ac, char **av) { return main1(ac, av); } In either case, gcc has done all it can do. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19111