aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-07-30 21:09:48 +0000
committerDale Johannesen <dalej@apple.com>2010-07-30 21:09:48 +0000
commit38cb1381b5ec8c75242650491c2b8e7e8a302665 (patch)
tree0b12f346c06c5c3b6d958262557420973155fdaf /test/FrontendC
parente16829b401409b398c9de9847c1d12eb931f7d63 (diff)
downloadexternal_llvm-38cb1381b5ec8c75242650491c2b8e7e8a302665.zip
external_llvm-38cb1381b5ec8c75242650491c2b8e7e8a302665.tar.gz
external_llvm-38cb1381b5ec8c75242650491c2b8e7e8a302665.tar.bz2
PPC doesn't supported VLA with large alignment. This was
formerly rejected by the FE, so asserted in the BE; now the FE only warns, so we treat it as a legitimate fatal error in PPC BE. This means the test for the feature won't pass, so it's xfail'd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC')
-rw-r--r--test/FrontendC/vla-1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/FrontendC/vla-1.c b/test/FrontendC/vla-1.c
index c6c58f6..77f78a5 100644
--- a/test/FrontendC/vla-1.c
+++ b/test/FrontendC/vla-1.c
@@ -1,4 +1,6 @@
// RUN: %llvmgcc_only -std=gnu99 %s -S |& grep {warning: alignment for}
+// ppc does not support this feature, and gets a fatal error at runtime.
+// XFAIL: powerpc
int foo(int a)
{