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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr38565.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// Ignore warning on some powerpc-linux configurations.
3
// { dg-prune-output "non-standard ABI extension" }
4
#define vector __attribute__((vector_size(16) ))
5
vector unsigned int f(int a)
6
{
7
  vector unsigned int mask = a ? (vector unsigned int){ 0x80000000, 0x80000000,
8
0x80000000, 0x80000000 } : (vector unsigned int){0};
9
  return mask;
10
}
11
 

powered by: WebSVN 2.1.0

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