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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr25559.c] - Rev 298

Compare with Previous | Blame | View Log

/* PR c/25559 */
/* { dg-do compile } */
 
#define vs(n) __attribute__((vector_size (n)))
int vs (-1) a;			/* { dg-warning "attribute ignored" } */
int vs (0) b;			/* { dg-error "zero vector 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)) e;
int vs (sizeof (int) * 2) f;
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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