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] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-DEMPTY" } */
2
/* This file is only needed in combination with ic-misattribution-1.c
3
   but there's no easy way to make this file ignored. */
4
extern void callee (void);
5
extern void caller (void (*func) (void));
6
 
7
typedef void (*func_t) (void);
8
func_t func;
9
 
10
int
11
main ()
12
{
13
#ifdef EMPTY
14
#else
15
  func = callee;
16
  caller (callee);
17
  func ();
18
#endif
19
  return 0;
20
}
21
 
22
/* { dg-final-use { cleanup-ipa-dump "profile" } } */

powered by: WebSVN 2.1.0

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