blob: c3ef54d32073861ca4415b31de9e99874129a94b [file] [log] [blame]
/* { dg-do compile { target { ! { nvptx*-*-* visium-*-* } } } } */
/* { dg-additional-options "-fno-pie" { target sparc*-*-* } } */
void
__attribute__((patchable_function_entry(65536)))
foo1 (void) { /* { dg-warning "'patchable_function_entry' attribute argument '65536' exceeds 65535" } */
}
void
__attribute__((patchable_function_entry(65536,1)))
foo2 (void) { /* { dg-warning "'patchable_function_entry' attribute argument '65536' exceeds 65535" } */
}
void
__attribute__((patchable_function_entry(65536,65536)))
foo3 (void) { /* { dg-warning "'patchable_function_entry' attribute argument '65536' exceeds 65535" } */
}