OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [ic-misattribution-1a.c] - Rev 801

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

/* { dg-options "-DEMPTY" } */
/* This file is only needed in combination with ic-misattribution-1.c
   but there's no easy way to make this file ignored. */
extern void callee (void);
extern void caller (void (*func) (void));
 
typedef void (*func_t) (void);
func_t func;
 
int
main ()
{
#ifdef EMPTY
#else
  func = callee;
  caller (callee);
  func ();
#endif
  return 0;
}
 
/* { dg-final-use { cleanup-ipa-dump "profile" } } */
 

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.