OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr25559.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR c/25559 */
2
/* { dg-do compile } */
3
 
4
#define vs(n) __attribute__((vector_size (n)))
5
int vs (-1) a;                  /* { dg-warning "attribute ignored" } */
6
int vs (0) b;                    /* { dg-error "zero vector size" } */
7
int vs (1) c;                   /* { dg-error "multiple of component size" } */
8
int vs (sizeof (int) / 2) d;    /* { dg-error "multiple of component size" } */
9
int vs (sizeof (int)) e;
10
int vs (sizeof (int) * 2) f;

powered by: WebSVN 2.1.0

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