gcc.69140.diff 584 B

1234567891011121314
  1. --- ./gcc/config/i386/i386.c.orig 2015-11-18 09:45:26.000000000 -0600
  2. +++ ./gcc/config/i386/i386.c 2016-02-05 13:50:07.202981920 -0600
  3. @@ -9677,6 +9677,10 @@
  4. if (TARGET_64BIT_MS_ABI && get_frame_size () > SEH_MAX_FRAME_SIZE)
  5. return true;
  6. + /* SSE saves require frame-pointer when stack is misaligned. */
  7. + if (TARGET_64BIT_MS_ABI && ix86_incoming_stack_boundary < 128)
  8. + return true;
  9. +
  10. /* In ix86_option_override_internal, TARGET_OMIT_LEAF_FRAME_POINTER
  11. turns off the frame pointer by default. Turn it back on now if
  12. we've not got a leaf function. */