re PR target/67265 ([x86] 'asm' operand has impossible constraints with -fstack-check)

PR target/67265
	* config/i386/i386.c (ix86_adjust_stack_and_probe): Remove obsolete
	assertion on the CFA register.

From-SVN: r230245
This commit is contained in:
Eric Botcazou 2015-11-12 11:55:11 +00:00 committed by Eric Botcazou
parent df9ad6bc49
commit c892ccd492
4 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-11-12 Eric Botcazou <ebotcazou@adacore.com>
PR target/67265
* config/i386/i386.c (ix86_adjust_stack_and_probe): Remove obsolete
assertion on the CFA register.
2015-11-12 Ilya Enkovich <enkovich.gnu@gmail.com>
* expr.c (do_store_flag): Expand vector comparison as

View File

@ -12246,8 +12246,6 @@ ix86_adjust_stack_and_probe (const HOST_WIDE_INT size)
release_scratch_register_on_entry (&sr);
}
gcc_assert (cfun->machine->fs.cfa_reg != stack_pointer_rtx);
/* Even if the stack pointer isn't the CFA register, we need to correctly
describe the adjustments made to it, in particular differentiate the
frame-related ones from the frame-unrelated ones. */

View File

@ -1,3 +1,7 @@
2015-11-12 Eric Botcazou <ebotcazou@adacore.com>
* gcc.target/i386/pr67265-2.c: New test.
2015-11-12 Ilya Enkovich <enkovich.gnu@gmail.com>
* gcc.dg/pr68286.c: New test.

View File

@ -0,0 +1,9 @@
/* { dg-do compile } */
/* { dg-options "-O -fstack-check" } */
void foo (int n)
{
volatile char arr[64 * 1024];
arr[n] = 1;
}