URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* PR c/35442 */
|
/* PR c/35442 */
|
/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
|
/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
|
|
|
typedef char A __attribute__ ((vector_size (64)));
|
typedef char A __attribute__ ((vector_size (64)));
|
typedef int B __attribute__ ((vector_size (64)));
|
typedef int B __attribute__ ((vector_size (64)));
|
|
|
void
|
void
|
foo (A a)
|
foo (A a)
|
{
|
{
|
((B) a) (); /* { dg-error "is not a function" } */
|
((B) a) (); /* { dg-error "is not a function" } */
|
}
|
}
|
|
|
/* Ignore a warning that is irrelevant to the purpose of this test. */
|
/* Ignore a warning that is irrelevant to the purpose of this test. */
|
/* { dg-prune-output ".*GCC vector passed by reference.*" } */
|
/* { dg-prune-output ".*GCC vector passed by reference.*" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.