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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr32230.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
 
3
typedef struct filter_buffer filter_buffer_t;
4
struct filter_buffer
5
{
6
  char buf[1];
7
};
8
typedef struct sbuf_header sbuf_header_t;
9
struct sbuf_header
10
{
11
  char buf[1];
12
}
13
const_f (filter_buffer_t *buf)
14
{
15
  float val;
16
  int i;
17
 
18
  for (i = 0; i < 10; i++)
19
    ((float*) (&((sbuf_header_t *) (__PTRDIFF_TYPE__)((buf) == (filter_buffer_t *)&(buf)->buf[0]))->buf[0]))[i] = val;
20
}
21
 
22
/* { dg-final { cleanup-tree-dump "vect" } } */
23
 
24
 

powered by: WebSVN 2.1.0

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