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] - Rev 399
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ typedef struct filter_buffer filter_buffer_t; struct filter_buffer { char buf[1]; }; typedef struct sbuf_header sbuf_header_t; struct sbuf_header { char buf[1]; } const_f (filter_buffer_t *buf) { float val; int i; for (i = 0; i < 10; i++) ((float*) (&((sbuf_header_t *) (__PTRDIFF_TYPE__)((buf) == (filter_buffer_t *)&(buf)->buf[0]))->buf[0]))[i] = val; } /* { dg-final { cleanup-tree-dump "vect" } } */
Go to most recent revision | Compare with Previous | Blame | View Log