blob: 6e149cc0b5aed82ce55faad8cf2c70e3caf08caf [file] [log] [blame]
/* Functional tests for the function hotpatching feature. */
/* { dg-do compile } */
/* { dg-options "-mzarch -mhotpatch=0,1 -falign-functions=4096" } */
#include <stdio.h>
void __attribute__ ((aligned(2048))) hp1(void)
{
printf("hello, world!\n");
}
/* Check number of occurences of certain instructions. */
/* { dg-final { scan-assembler-not "alignment for hotpatch" } } */