view gcc/testsuite/gcc.target/arm/pr78353-2.c @ 19:2b5abeee2509 default tip

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

/* { dg-do link }  */
/* { dg-require-effective-target arm_arch_v7a_multilib } */
/* { dg-options "-march=armv7-a -mthumb -O2 -flto -Wa,-mimplicit-it=always,-mthumb" }  */

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