aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-11-12 11:55:11 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-11-12 11:55:11 +0000
commitc892ccd49211ec57b732463342b5806bdf68e254 (patch)
treef6308717efc15b2e2bb6041ee140231fc6305e12 /gcc/testsuite/gcc.target
parentdf9ad6bc4901bf25c40b136fa6c1b39a78d76f41 (diff)
downloadgcc-c892ccd49211ec57b732463342b5806bdf68e254.zip
gcc-c892ccd49211ec57b732463342b5806bdf68e254.tar.gz
gcc-c892ccd49211ec57b732463342b5806bdf68e254.tar.bz2
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
Diffstat (limited to 'gcc/testsuite/gcc.target')
-rw-r--r--gcc/testsuite/gcc.target/i386/pr67265-2.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr67265-2.c b/gcc/testsuite/gcc.target/i386/pr67265-2.c
new file mode 100644
index 0000000..a9f2eb4
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/pr67265-2.c
@@ -0,0 +1,9 @@
+/* { dg-do compile } */
+/* { dg-options "-O -fstack-check" } */
+
+void foo (int n)
+{
+ volatile char arr[64 * 1024];
+
+ arr[n] = 1;
+}