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.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [altivec-29.c] - Blame information for rev 322

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 322 jeremybenn
/* PR target/39558 */
2
/* { dg-do compile { target powerpc*-*-* } } */
3
/* { dg-require-effective-target powerpc_altivec_ok } */
4
/* { dg-options "-maltivec -save-temps" } */
5
 
6
#define ATTRIBUTE_UNUSED __attribute__((unused))
7
 
8
int *foo (int *vector)
9
{
10
  return vector;
11
}
12
 
13
int *bar (int *vector ATTRIBUTE_UNUSED)
14
{
15
  return vector;
16
}
17
 
18
int *baz (int *vector __attribute__((unused)))
19
{
20
  return vector;
21
}
22
 
23
/* { dg-final { cleanup-saved-temps } } */

powered by: WebSVN 2.1.0

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