aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/nvptx/patchable_function_entry-default.c
blob: 425445627257b17deb8cb9025a6568ec8aa00fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O2 -fpatchable-function-entry=3,1" } */

extern int a;

int f3 (void);

int
__attribute__((noinline))
f3 (void)
{
  return 5*a;
}

/* { dg-excess-errors "sorry, unimplemented: not generating patch area, nops not supported" } */