Commit d90d7671 by Marek Polacek Committed by Marek Polacek

pr24049.c: Fix implicit declarations.

	* gcc.dg/vect/pr24049.c: Fix implicit declarations.
	* gcc.dg/vect/pr37730.c: Likewise.
	* gcc.dg/vect/pr52870.c: Likewise.
	* gcc.dg/vect/pr60092-2.c: Likewise.
	* gcc.dg/vect/pr60092.c: Likewise.
	* gcc.dg/vect/vect-reduc-sad.c: Likewise.
	* gcc.dg/vect/pr26359.c: Fix defaulting to int.
	* gcc.dg/vect/pr31041.c: Likewise.
	* gcc.dg/vect/pr32216.c: Likewise.
	* gcc.dg/vect/pr32224.c: Likewise.
	* gcc.dg/vect/pr32366.c: Likewise.
	* gcc.dg/vect/pr33866.c: Likewise.
	* gcc.dg/vect/pr43430-2.c: Likewise.
	* gcc.dg/vect/pr43842.c: Likewise.
	* gcc.dg/vect/vect-1.c: Likewise.
	* gcc.dg/vect/vect-1-big-array.c: Likewise.
	* gcc.dg/vect/vect-93.c: Likewise.
	* gcc.dg/vect/pr28952.c: Fix implicit declarations and
	defaulting to int.

From-SVN: r215814
parent 04bbdb1d
2014-10-02 Marek Polacek <polacek@redhat.com>
* gcc.dg/vect/pr24049.c: Fix implicit declarations.
* gcc.dg/vect/pr37730.c: Likewise.
* gcc.dg/vect/pr52870.c: Likewise.
* gcc.dg/vect/pr60092-2.c: Likewise.
* gcc.dg/vect/pr60092.c: Likewise.
* gcc.dg/vect/vect-reduc-sad.c: Likewise.
* gcc.dg/vect/pr26359.c: Fix defaulting to int.
* gcc.dg/vect/pr31041.c: Likewise.
* gcc.dg/vect/pr32216.c: Likewise.
* gcc.dg/vect/pr32224.c: Likewise.
* gcc.dg/vect/pr32366.c: Likewise.
* gcc.dg/vect/pr33866.c: Likewise.
* gcc.dg/vect/pr43430-2.c: Likewise.
* gcc.dg/vect/pr43842.c: Likewise.
* gcc.dg/vect/vect-1.c: Likewise.
* gcc.dg/vect/vect-1-big-array.c: Likewise.
* gcc.dg/vect/vect-93.c: Likewise.
* gcc.dg/vect/pr28952.c: Fix implicit declarations and
defaulting to int.
2014-10-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53025
......
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-vectorize --param ggc-min-heapsize=0 --param ggc-min-expand=0" } */
void unscrunch (unsigned char *, int *);
int DES_CBCUpdate(unsigned char * output, int len)
{
int work[2];
......
......@@ -4,6 +4,7 @@
int a[256], b[256], c[256];
void
foo () {
int i;
......
......@@ -15,6 +15,8 @@ struct packet_spaceship_info
{
char structure[32 + 1];
};
void lsend_packet_spaceship_info (struct packet_spaceship_info *);
void
send_spaceship_info (void)
{
int j;
......
......@@ -9,6 +9,7 @@ struct UNewTrie
int index[(0x110000 >> 1)];
};
typedef struct UNewTrie UNewTrie;
void
utrie_open_3_4 ()
{
UNewTrie *trie;
......
......@@ -3,6 +3,7 @@
unsigned int wlookup2[203];
void
SetSoundVariables (int x)
{
for (x = 1; x < 32; x++)
......
/* { dg-do compile } */
typedef unsigned long int *mp_ptr;
typedef const unsigned long int *mp_srcptr;
void
gmpz_export (void *data)
{
mp_srcptr zp;
......
......@@ -3,6 +3,7 @@
/* { dg-do compile } */
/* { dg-require-effective-target vect_float } */
void
stream_test (void)
{
static float input[20];
......
......@@ -8,7 +8,7 @@ typedef struct
}
fill_iter_info;
extern H5Diterate (fill_iter_info *);
extern int H5Diterate (fill_iter_info *);
void test_select_fill_hyper_simple (long *offset)
{
......
/* PR middle-end/37730 */
/* { dg-do compile } */
void sdp_seq_alloc (void *);
void
add_opush (void)
{
......
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
typedef unsigned char uint8_t;
int
vsad16_c (void *c, uint8_t * s1, uint8_t * s2, int stride, int h)
{
int score = 0;
......
......@@ -30,6 +30,7 @@ int16_t g_4;
int8_t g_4_8;
uint32_t g_9[1];
uint32_t g_9_8[2];
void
int161 (void)
{
int32_t l_2;
......@@ -38,6 +39,7 @@ int161 (void)
g_9[0] ^= safe_rshift_func_int16_t_s_u (g_4, 1);
}
int
int81 (void)
{
int32_t l_2;
......
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-vectorize" } */
void foo (unsigned long int);
long
test (int *x)
{
......
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
int posix_memalign(void **memptr, __SIZE_TYPE__ alignment, __SIZE_TYPE__ size);
void bar (int *);
int *foo (int n)
{
int *p;
......
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
void bar (int *);
int *foo (int n)
{
int *p = __builtin_aligned_alloc (256, n * sizeof (int));
......
......@@ -10,6 +10,7 @@ void sbar (short *);
/* multiple loops */
void
foo (int n)
{
float a[N+1];
......
......@@ -10,6 +10,7 @@ void sbar (short *);
/* multiple loops */
void
foo (int n)
{
float a[N+1];
......
......@@ -6,7 +6,7 @@
#define N 3001
__attribute__ ((noinline))
__attribute__ ((noinline)) int
main1 (float *pa)
{
int i;
......
......@@ -8,6 +8,7 @@
unsigned char X[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
unsigned char Y[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
int abs (int);
/* Sum of absolute differences between arrays of unsigned char types.
Detected as a sad pattern.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment