* gcc.dg/guality/pr41616-1.c: Use -fgnu89-inline.
* gcc.dg/iftrap-1.c: Fix implicit declarations.
* gcc.target/powerpc/pr26350.c: Likewise.
* gcc.target/powerpc/altivec-consts.c: Likewise.
* gcc.target/powerpc/altivec-varargs-1.c: Likewise.
* gcc.target/powerpc/le-altivec-consts.c: Likewise.
* gcc.target/powerpc/ppc-vector-memcpy.c: Likewise.
* gcc.target/powerpc/ppc-vector-memset.c: Likewise.
* gcc.target/powerpc/pr47862.c: Likewise.
* gcc.target/powerpc/pr48053-1.c: Likewise.
* gcc.target/powerpc/pr53487.c: Likewise.
* gcc.dg/vect/pr48765.c: Fix implicit declarations and defaulting
to int.
* gcc.target/powerpc/
20050603-1.c: Fix defaulting to int.
* gcc.target/powerpc/altivec-2.c: Likewise.
* gcc.target/powerpc/pr47755-2.c: Likewise.
From-SVN: r215978
+2014-10-07 Marek Polacek <polacek@redhat.com>
+
+ * gcc.dg/guality/pr41616-1.c: Use -fgnu89-inline.
+ * gcc.dg/iftrap-1.c: Fix implicit declarations.
+ * gcc.target/powerpc/pr26350.c: Likewise.
+ * gcc.target/powerpc/altivec-consts.c: Likewise.
+ * gcc.target/powerpc/altivec-varargs-1.c: Likewise.
+ * gcc.target/powerpc/le-altivec-consts.c: Likewise.
+ * gcc.target/powerpc/ppc-vector-memcpy.c: Likewise.
+ * gcc.target/powerpc/ppc-vector-memset.c: Likewise.
+ * gcc.target/powerpc/pr47862.c: Likewise.
+ * gcc.target/powerpc/pr48053-1.c: Likewise.
+ * gcc.target/powerpc/pr53487.c: Likewise.
+ * gcc.dg/vect/pr48765.c: Fix implicit declarations and defaulting
+ to int.
+ * gcc.target/powerpc/20050603-1.c: Fix defaulting to int.
+ * gcc.target/powerpc/altivec-2.c: Likewise.
+ * gcc.target/powerpc/pr47755-2.c: Likewise.
+
2014-10-07 Martin Liska <mliska@suse.cz>
* g++.dg/lto/pr63270.h: New test.
/* { dg-do run { xfail *-*-* } } */
-/* { dg-options "-g" } */
+/* { dg-options "-g -fgnu89-inline" } */
#include "guality.h"
/* { dg-do compile { target rs6000-*-* powerpc*-*-* sparc*-*-* ia64-*-* } } */
/* { dg-final { scan-assembler-not "^\t(trap|ta|break)\[ \t\]" } } */
+void bar (void);
+
void f1(int p)
{
if (p)
static HARD_REG_SET *after_insn_hard_regs;
static int stupid_find_reg (int, enum reg_class, enum machine_mode, int, int,
int);
+enum reg_class reg_preferred_class (int);
void
stupid_life_analysis (f, nregs, file)
+ int nregs, file;
rtx f;
{
register int i;
static int
stupid_find_reg (call_preserved, class, mode, born_insn, dead_insn,
changes_size)
- int call_preserved;
+ int call_preserved, born_insn, dead_insn, changes_size;
enum reg_class class;
enum machine_mode mode;
{
setlocale (LC_ALL, "C");
testreg = ext_func(p);
}
+int
main() {
testreg = &x;
test_reg_save_restore (&y);
int nc17[sizeof(shoe) == sizeof (char *) ? 69 : -1];
+void
code ()
{
*shoe = polish;
/* Check that "easy" AltiVec constants are correctly synthesized. */
extern void abort (void);
+extern int memcmp (const void *, const void *, __SIZE_TYPE__);
typedef __attribute__ ((vector_size (16))) unsigned char v16qi;
typedef __attribute__ ((vector_size (16))) unsigned short v8hi;
extern void exit (int);
extern void abort (void);
+extern int memcmp (const void *, const void *, __SIZE_TYPE__);
#define vector __attribute__((vector_size (16)))
/* Check that "easy" AltiVec constants are correctly synthesized. */
extern void abort (void);
+extern int memcmp (const void *, const void *, __SIZE_TYPE__);
typedef __attribute__ ((vector_size (16))) unsigned char v16qi;
typedef __attribute__ ((vector_size (16))) unsigned short v8hi;
#include <string.h>
+void bar (int *);
+
void foo(void)
{
extern int x[8] __attribute__((aligned(128)));
#include <string.h>
+void bar (int *);
+
void foo(void)
{
int x[8] __attribute__((aligned(128)));
struct ebfp {
long double v;
};
+void put_ebfp (struct ebfp *);
void s390_convert_fix32_to_bfp_ext_reg (REGS *regs)
{
#define FAIL_I(A, B, C, D) abort ()
#endif
-static test_ll (vector long long, long long, long long) __attribute__((__noinline__));
+static void test_ll (vector long long, long long, long long) __attribute__((__noinline__));
-static
+static void
test_ll (vector long long v, long long a, long long b)
{
union {
#define TEST_LL(A,B) test_ll ((vector long long){ (A), (B) }, (A), (B))
-static test_i (vector int, int, int, int, int) __attribute__((__noinline__));
+static void test_i (vector int, int, int, int, int) __attribute__((__noinline__));
-static
+static void
test_i (vector int v, int a, int b, int c, int d)
{
union {
/* PR 47862: Verify caller-save spill of vectors in FP regs do not use
legacy FP insns, which spill only half the vector. */
extern vector double dd[15];
+void bar (void);
vector double foo() {
vector double a,b,c,d,e,f,g,h,i,j,k,l,m,n;
int sourcenode;
int ARCHelems;
int *source_elms;
+void vv12x12 (double *, double *, double *);
void
foo (int argc, char **argv)
{
struct phylo_s {
int left;
};
+void Free2DArray (void **, int);
int Cluster(float **dmx, int N, struct phylo_s *tree)
{