@@ -1,5 +1,5 @@
/* { dg-do run { xfail *-*-* } } */
-/* { dg-options "-g" } */
+/* { dg-options "-g -fgnu89-inline" } */
#include "guality.h"
@@ -3,6 +3,8 @@
/* { 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)
@@ -33,8 +33,10 @@ static char *regs_change_size;
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;
@@ -52,7 +54,7 @@ stupid_life_analysis (f, nregs, file)
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;
{
@@ -15,6 +15,7 @@ test_reg_save_restore (int *p)
setlocale (LC_ALL, "C");
testreg = ext_func(p);
}
+int
main() {
testreg = &x;
test_reg_save_restore (&y);
@@ -23,6 +23,7 @@ int xxx[sizeof(foobar) == 16 ? 69 : -1];
int nc17[sizeof(shoe) == sizeof (char *) ? 69 : -1];
+void
code ()
{
*shoe = polish;
@@ -6,6 +6,7 @@
/* 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;
@@ -7,6 +7,7 @@
extern void exit (int);
extern void abort (void);
+extern int memcmp (const void *, const void *, __SIZE_TYPE__);
#define vector __attribute__((vector_size (16)))
@@ -6,6 +6,7 @@
/* 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;
@@ -5,6 +5,8 @@
#include <string.h>
+void bar (int *);
+
void foo(void)
{
extern int x[8] __attribute__((aligned(128)));
@@ -5,6 +5,8 @@
#include <string.h>
+void bar (int *);
+
void foo(void)
{
int x[8] __attribute__((aligned(128)));
@@ -17,6 +17,7 @@ struct REGS {
struct ebfp {
long double v;
};
+void put_ebfp (struct ebfp *);
void s390_convert_fix32_to_bfp_ext_reg (REGS *regs)
{
@@ -22,9 +22,9 @@ extern void abort (void) __attribute__((__noreturn__));
#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 {
@@ -39,9 +39,9 @@ test_ll (vector long long v, long long a, long long b)
#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 {
@@ -7,6 +7,7 @@
/* 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;
@@ -6,6 +6,7 @@
int sourcenode;
int ARCHelems;
int *source_elms;
+void vv12x12 (double *, double *, double *);
void
foo (int argc, char **argv)
{
@@ -6,6 +6,7 @@
struct phylo_s {
int left;
};
+void Free2DArray (void **, int);
int Cluster(float **dmx, int N, struct phylo_s *tree)
{