diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/c-c++-common/scal-to-vec2.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/c-c++-common/scal-to-vec2.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/c-c++-common/scal-to-vec2.c b/gcc-4.8.1/gcc/testsuite/c-c++-common/scal-to-vec2.c deleted file mode 100644 index 2721aa007..000000000 --- a/gcc-4.8.1/gcc/testsuite/c-c++-common/scal-to-vec2.c +++ /dev/null @@ -1,20 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */ -/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */ -/* Ignore warning on some powerpc-ibm-aix configurations. */ -/* { dg-prune-output "non-standard ABI extension" } */ - -/* Test for C_MAYBE_CONST are folded correctly when - expanding an expression to vector. */ - -int f(void); -unsigned int g(void); -unsigned int h; - -typedef unsigned int vec __attribute__((vector_size(16))); - -vec i; - - -vec fv1(void) { return i + (h ? f() : g()); } -vec fv2(void) { return (h ? f() : g()) + i; } |