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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [ic-misattribution-1a.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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-tree-dump "tree_profile" } } */

powered by: WebSVN 2.1.0

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