URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [section-anchors-pr27770.c] - Rev 816
Compare with Previous | Blame | View Log
/* { dg-require-effective-target section_anchors } */ #include <stdarg.h> #include "tree-vect.h" short x; static short f[100] = {0}; int bar (void) { return f[0]; } void foo (void) { int i; for (i = 0; i < 100; i++) f[i]++; } int main (void) { int i; check_vect (); foo (); for (i = 0; i < 100; i++) if (f[i]!=1) abort (); return 0; } /* { dg-final { cleanup-tree-dump "vect" } } */