URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* PR c/25559 */
|
/* PR c/25559 */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
#define vs(n) __attribute__((vector_size (n)))
|
#define vs(n) __attribute__((vector_size (n)))
|
int vs (-1) a; /* { dg-warning "attribute ignored" } */
|
int vs (-1) a; /* { dg-warning "attribute ignored" } */
|
int vs (0) b; /* { dg-error "zero vector size" } */
|
int vs (0) b; /* { dg-error "zero vector size" } */
|
int vs (1) c; /* { dg-error "multiple of component size" } */
|
int vs (1) c; /* { dg-error "multiple of component size" } */
|
int vs (sizeof (int) / 2) d; /* { dg-error "multiple of component size" } */
|
int vs (sizeof (int) / 2) d; /* { dg-error "multiple of component size" } */
|
int vs (sizeof (int)) e;
|
int vs (sizeof (int)) e;
|
int vs (sizeof (int) * 2) f;
|
int vs (sizeof (int) * 2) f;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.