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.dg/] [tree-ssa/] [pr38250.c] - Blame information for rev 300

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-loop-distribution" } */
3
 
4
__extension__ typedef __SIZE_TYPE__ size_t;
5
typedef struct   {
6
          long dat[2];
7
} gsl_complex_long_double;
8
typedef struct {
9
 size_t size;
10
 size_t stride;
11
 long *data;
12
} gsl_vector_complex_long_double;
13
 
14
void gsl_vector_complex_long_double_set_zero (gsl_vector_complex_long_double * v)
15
{
16
 long * const data = v->data;
17
 const size_t n = v->size;
18
 const size_t stride = v->stride;
19
 const gsl_complex_long_double zero = { { 0,0} } ;
20
 size_t i;
21
 for (i = 0; i < n; i++)
22
  *(gsl_complex_long_double *) (data + 2 * i * stride) = zero;
23
}
24
 

powered by: WebSVN 2.1.0

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