diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-11 14:24:39 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-11 14:24:39 +0000 |
commit | 87ebd30da656fd63060a1e1edb0f2984ef855f0c (patch) | |
tree | 139540b266af3e7bc805500120f2f0030bc1fe7e | |
parent | b656be3a5e5d499ed45dba75943861a14d3aec55 (diff) | |
download | gcc-87ebd30da656fd63060a1e1edb0f2984ef855f0c.tar.gz |
PR target/67265
* config/i386/i386.c (ix86_finalize_stack_realign_flags): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230170 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/config/i386/i386.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 571f7d7b5ec..baa0e031c83 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -12470,7 +12470,11 @@ ix86_finalize_stack_realign_flags (void) && !crtl->accesses_prior_frames && !cfun->calls_alloca && !crtl->calls_eh_return - && !(flag_stack_check && STACK_CHECK_MOVING_SP) + /* See ira_setup_eliminable_regset for the rationale. */ + && !(STACK_CHECK_MOVING_SP + && flag_stack_check + && flag_exceptions + && cfun->can_throw_non_call_exceptions) && !ix86_frame_pointer_required () && get_frame_size () == 0 && ix86_nsaved_sseregs () == 0 |