URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr51074.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/51074 */ #include "tree-vect.h" struct S { int a, b; } s[8]; int main () { int i; check_vect (); for (i = 0; i < 8; i++) { s[i].b = 0; s[i].a = i; } asm volatile ("" : : : "memory"); for (i = 0; i < 8; i++) if (s[i].b != 0 || s[i].a != i) abort (); return 0; } /* { dg-final { cleanup-tree-dump "vect" } } */
Go to most recent revision | Compare with Previous | Blame | View Log