view gcc/testsuite/gcc.target/msp430/isr-push-pop-isr-430x.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-mcpu=msp430" } { "" } } */
/* { dg-final { scan-assembler "PUSHM.*#5" } } */
/* { dg-final { scan-assembler-not "PUSHM.*#12" } } */

void __attribute__((noinline)) callee (void);

void __attribute__((interrupt))
isr (void)
{
  callee();
}