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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [altivec-16.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
// PR c++/36662
2
// { dg-do compile { target powerpc*-*-* } }
3
// { dg-require-effective-target powerpc_altivec_ok }
4
// { dg-options "-maltivec" }
5
 
6
#define vector __attribute__((altivec (vector__)))
7
 
8
template  struct S {};
9
 
10
template <> struct S
11
{
12
  static vector float zero;
13
};
14
 
15
template 
16
void g (void)
17
{
18
  vector float t = S::zero;
19
}

powered by: WebSVN 2.1.0

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