URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ivopts-2.c] - Rev 867
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-ivopts-details" } */ long last_data_offset; int store; char *data; f () { long data_offset = last_data_offset; char *p; for (p = data; *p; p++) { data_offset++; g (data_offset); store = data_offset + 1; } } /* We should only have two IVs. */ /* { dg-final { scan-tree-dump-not "\\n candidates \\d+, \\d+,\[^\\n\]*\\n\[^\\n\]*\\nFinal cost" "ivopts" } } */ /* { dg-final { cleanup-tree-dump "ivopts" } } */
Go to most recent revision | Compare with Previous | Blame | View Log