view gcc/testsuite/gcc.dg/tree-prof/ic-misattribution-1a.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { 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;
}