aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr78353-2.c
blob: c070d7275bc59030e33d799dae05a112faea69b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do link }  */
/* { dg-require-effective-target arm_arch_v7a_multilib } */
/* { dg-options "-mthumb -O2 -flto -Wa,-mimplicit-it=always,-mthumb" }  */
/* { dg-add-options arm_arch_v7a } */

int main(int x)
{
  asm("teq %0, #0; addne %0, %0, #1" : "=r" (x));
  return x;
}