ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/sparc/sparc-constant-1.c

14 lines
229 B
C

/* PR optimization/10876 */
/* { dg-do compile } */
/* Verify that adding the constant 4096 is turned
into subtracting the constant -4096. */
int foo(int a)
{
return a+4096;
}
/* { dg-final { scan-assembler "sub" } } */