* 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
+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];
int a[256], b[256], c[256];
+void
foo () {
int i;
{
char structure[32 + 1];
};
+void lsend_packet_spaceship_info (struct packet_spaceship_info *);
+void
send_spaceship_info (void)
{
int j;
int index[(0x110000 >> 1)];
};
typedef struct UNewTrie UNewTrie;
+void
utrie_open_3_4 ()
{
UNewTrie *trie;
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;
/* { dg-do compile } */
/* { dg-require-effective-target vect_float } */
+void
stream_test (void)
{
static float input[20];
}
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;
int8_t g_4_8;
uint32_t g_9[1];
uint32_t g_9_8[2];
+void
int161 (void)
{
int32_t l_2;
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));
/* multiple loops */
+void
foo (int n)
{
float a[N+1];
/* multiple loops */
+void
foo (int n)
{
float a[N+1];
#define N 3001
-__attribute__ ((noinline))
+__attribute__ ((noinline)) int
main1 (float *pa)
{
int i;
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.