diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-11-11 14:24:39 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-11-11 14:24:39 +0000 |
commit | 7337ccc4b2d75d2db24dcb1f2e944f50dbe1e2ab (patch) | |
tree | 139540b266af3e7bc805500120f2f0030bc1fe7e /gcc | |
parent | 182190f2b3a236eb30bd717981e1f2c9b51cea06 (diff) | |
download | gcc-7337ccc4b2d75d2db24dcb1f2e944f50dbe1e2ab.zip gcc-7337ccc4b2d75d2db24dcb1f2e944f50dbe1e2ab.tar.gz gcc-7337ccc4b2d75d2db24dcb1f2e944f50dbe1e2ab.tar.bz2 |
re PR target/67265 ([x86] 'asm' operand has impossible constraints with -fstack-check)
PR target/67265
* config/i386/i386.c (ix86_finalize_stack_realign_flags): Likewise.
From-SVN: r230170
Diffstat (limited to 'gcc')
-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 571f7d7..baa0e03 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 |