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/] [tree-prof/] [val-prof-7.c] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-options "-O2 -fdump-tree-tree_profile -mtune=core2" } */ /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */ #include <strings.h> int foo(int len) { char array[1000]; bzero(array, len); return 0; } int main() { int i; for (i = 0; i < 1000; i++) { if (i > 990) foo(16); else foo(8); } return 0; } /* { dg-final-use { scan-tree-dump "Single value 8 stringop transformation on bzero" "tree_profile"} } */ /* { dg-final-use { cleanup-tree-dump "tree_profile" } } */
Go to most recent revision | Compare with Previous | Blame | View Log