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] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "" }
2
// { dg-do compile }
3
// PR C++/31721 and PR 14217
4
// the attribute vector_size would change a reference type into a pointer type which was wrong.
5
 
6
#define vector __attribute__((__vector_size__(16) ))
7
vector int b;
8
vector int &a = b;

powered by: WebSVN 2.1.0

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