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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [vector7.C] - Rev 801

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

// { dg-options "" }
// { dg-do compile }
// PR C++/31721 and PR 14217
// the attribute vector_size would change a reference type into a pointer type which was wrong.

#define vector __attribute__((__vector_size__(16) ))
vector int b;
vector int &a = b;

Go to most recent revision | 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.