diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-07-30 21:09:48 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-07-30 21:09:48 +0000 |
| commit | cf0287e56d59dbbf9193f9e113492ed45fad738f (patch) | |
| tree | 41a739b1bb81a1cf88b6dc3174c8150fc49ba008 /llvm/test/FrontendC/vla-1.c | |
| parent | d566d2c7b5bde2e1c4650ac3539b8dddf525bfbf (diff) | |
| download | bcm5719-llvm-cf0287e56d59dbbf9193f9e113492ed45fad738f.tar.gz bcm5719-llvm-cf0287e56d59dbbf9193f9e113492ed45fad738f.zip | |
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.
llvm-svn: 109892
Diffstat (limited to 'llvm/test/FrontendC/vla-1.c')
| -rw-r--r-- | llvm/test/FrontendC/vla-1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/FrontendC/vla-1.c b/llvm/test/FrontendC/vla-1.c index c6c58f6cc36..77f78a5e3af 100644 --- a/llvm/test/FrontendC/vla-1.c +++ b/llvm/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) { |

