aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.apple/altivec-5.c
diff options
context:
space:
mode:
authorno-author <no-author@gcc.gnu.org>2005-03-15 02:40:51 +0000
committerno-author <no-author@gcc.gnu.org>2005-03-15 02:40:51 +0000
commit17edb3cbcc1e5b389d68dbb213ee466ec64f89ac (patch)
tree4cab2f7840b41de6093f814431674be9e12c2447 /gcc/testsuite/gcc.apple/altivec-5.c
parent9e88bc8754ac91301313180a1f11bbf74ed1a9dc (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-5001
'apple-gcc-5001'. git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-5001@96466 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.apple/altivec-5.c')
-rw-r--r--gcc/testsuite/gcc.apple/altivec-5.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.apple/altivec-5.c b/gcc/testsuite/gcc.apple/altivec-5.c
new file mode 100644
index 00000000000..cd9e1888af2
--- /dev/null
+++ b/gcc/testsuite/gcc.apple/altivec-5.c
@@ -0,0 +1,33 @@
+/* APPLE LOCAL file AltiVec 3840704 */
+/* { dg-do compile { target powerpc*-*-* } } */
+/* { dg-options "-faltivec" } */
+/* { dg-final { scan-assembler-not "stvx" } } */
+
+void *memset(void *, int, unsigned long int);
+
+struct tm
+{
+ int tm_sec;
+ int tm_min;
+ int tm_hour;
+ int tm_mday;
+ int tm_mon;
+ int tm_year;
+ int tm_wday;
+ int tm_yday;
+ int tm_isdst;
+ long tm_gmtoff;
+ char *tm_zone;
+};
+
+
+int asl_send()
+{
+ char *str, *out;
+ unsigned int i, len, level, outstatus;
+ struct tm gtime;
+
+ memset(&gtime, 0, sizeof(struct tm)); /* { dg-warning "disabled" } */
+ return 0;
+}
+