]> gcc.gnu.org Git - gcc.git/commitdiff
re PR target/67265 ([x86] 'asm' operand has impossible constraints with -fstack-check)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 11 Nov 2015 14:24:39 +0000 (14:24 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 11 Nov 2015 14:24:39 +0000 (14:24 +0000)
PR target/67265
* config/i386/i386.c (ix86_finalize_stack_realign_flags): Likewise.

From-SVN: r230170

gcc/config/i386/i386.c

index 571f7d7b5ec6869c1cf28202a54da5b9a0acf7c2..baa0e031c8354c319b7365969a0ac09d7e10ee7e 100644 (file)
@@ -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
This page took 0.127785 seconds and 5 git commands to generate.