OpenCores
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/] [copy-headers.c] - Rev 867

Go to most recent revision | Compare with Previous | Blame | View Log

/* { dg-do compile } */ 
/* { dg-options "-O2 -fdump-tree-ch-details" } */
 
extern int foo (int);
 
void bla (void)
{
  int i, n = foo (0);
 
  for (i = 0; i < n; i++)
    foo (i);
}
 
/* There should be a header duplicated.  */
/* { dg-final { scan-tree-dump-times "Duplicating header" 1 "ch"} } */
/* { dg-final { cleanup-tree-dump "ch" } } */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.