summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr63210.c
blob: 9b63a67d3f0ad9e7c616c191b6f18268f4ced455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do assemble } */
/* { dg-options "-mthumb -Os " }  */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-skip-if "do not test on armv4t" { *-*-* } { "-march=armv4t" } } */
/* { dg-additional-options "-march=armv5t" {target arm_arch_v5t_ok} } */

int foo1 (int c);
int foo2 (int c);

int test (int c)
{
  return (foo1 (c) || foo2 (c));
}
/* { dg-final { object-size text <= 28 } } */