OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [20030505.c] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target powerpc-*-eabispe* } } */
2
/* { dg-options "-W" } */
3
 
4
#define __vector __attribute__((vector_size(8)))
5
 
6
typedef float                   __vector __ev64_fs__;
7
 
8
__ev64_opaque__ *p1;
9
__ev64_fs__ *p2;
10
int *x;
11
 
12
extern void f (__ev64_opaque__ *);
13
 
14
int main ()
15
{
16
        f (x);  /* { dg-warning "incompatible pointer type" } */
17
        f (p1);
18
        f (p2);
19
        return 0;
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.