+2014-10-22 Jiong Wang <jiong.wang@arm.com>
+
+ * gcc.target/aarch64/pic-constantpool1.c: Add explicit declaration.
+ * gcc.target/aarch64/pic-symrefplus.c: Likewise.
+ * gcc.target/aarch64/reload-valid-spoff.c: Likewise.
+ * gcc.target/aarch64/vect.x: Likewise.
+ * gcc.target/aarch64/vect-ld1r.x: Add return type.
+ * gcc.target/aarch64/vect-fmax-fmin.c: Likewise.
+ * gcc.target/aarch64/vect-fp.c: Likewise.
+
2014-10-22 Jiong Wang <jiong.wang@arm.com>
* lib/compat.exp (compat-run): Remove "unresolved".
/* { dg-do compile } */
extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
+extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
+extern int __signbit (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
+extern int __signbitf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
int
__ecvt_r (value, ndigit, decpt, sign, buf, len)
double value;
- int ndigit, *decpt, *sign;
+ int ndigit, *decpt, *sign, len;
char *buf;
{
if ((sizeof (value) == sizeof (float) ? __finitef (value) : __finite (value)) && value != 0.0)
values [];
};
extern const struct locale_data _nl_C_LC_TIME __attribute__ ((visibility ("hidden")));
+extern void *memset (void *s, int c, size_t n);
+extern size_t strlen (const char *s);
+extern int __strncasecmp_l (const char *s1, const char *s2, size_t n, __locale_t locale);
char *
__strptime_internal (rp, fmt, tmp, statep , locale)
const char *rp;
const char *fmt;
__locale_t locale;
void *statep;
+ int tmp;
{
struct locale_data *const current = locale->__locales[__LC_TIME];
const char *rp_backup;
}
char *
__strptime_l (buf, format, tm , locale)
+ int buf;
+ int format;
+ int tm;
+ int locale;
{
}
};
typedef struct _IO_FILE FILE;
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream);
+extern void *memset (void *s, int c, size_t n);
+extern void *memcpy (void *dest, const void *src, size_t n);
+extern int fprintf (FILE *stream, const char *format, ...);
+extern char * safe_strncpy (char *dst, const char *src, size_t size);
+extern size_t strlen (const char *s);
extern struct _IO_FILE *stderr;
extern int optind;
struct aftype {
#include "vect-fmaxv-fminv.x"
#define DEFN_SETV(type) \
- set_vector_##type (pR##type a, type n) \
- { \
- int i; \
- for (i=0; i<16; i++) \
- a[i] = n; \
+ void set_vector_##type (pR##type a, type n) \
+ { \
+ int i; \
+ for (i=0; i<16; i++) \
+ a[i] = n; \
}
#define DEFN_CHECKV(type) \
#define DEFN_SETV(type) \
- set_vector_##type (pR##type a, type n) \
- { \
- int i; \
- for (i=0; i<16; i++) \
- a[i] = n; \
+ void set_vector_##type (pR##type a, type n) \
+ { \
+ int i; \
+ for (i=0; i<16; i++) \
+ a[i] = n; \
}
#define DEFN_CHECKV(type) \
for (i = 0; i < 8 / sizeof (TYPE); i++) \
output[i] = *a; \
} \
- foo_ ## TYPE ## _q (TYPE *a, TYPE *output) \
+ void foo_ ## TYPE ## _q (TYPE *a, TYPE *output) \
{ \
int i; \
for (i = 0; i < 32 / sizeof (TYPE); i++) \
typedef unsigned int *__restrict__ pRUINT;
typedef long long *__restrict__ pRINT64;
typedef unsigned long long *__restrict__ pRUINT64;
+extern int abs (int j);
void test_orn (pRUINT a, pRUINT b, pRUINT c)
{