Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/arm/pr40887.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 "need at least armv5" { *-*-* } { "-march=armv[234]*" } { "" } } */ /* { dg-skip-if "FDPIC does not support armv5te" { arm*-*-uclinuxfdpiceabi } "*" "" } */ /* { dg-require-effective-target arm_arch_v5te_ok } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_arch_v5te } */ /* { dg-final { scan-assembler "blx" } } */ int (*indirect_func)(int x); int indirect_call() { return indirect_func(20) + indirect_func (40); }