Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
gcc
/
testsuite
/
gcc.dg
/
sparc-constant-1.c
blob: bb4b1bce4f837a7898df4e7eb7969d8dbda1feed [
file
] [
log
] [
blame
]
/* PR optimization/10876 */
/* { dg-do compile { target sparc*-*-* } } */
/* Verify that adding the constant 4096 is turned
into substracting the constant -4096. */
int
foo
(
int
a
)
{
return
a
+
4096
;
}
/* { dg-final { scan-assembler "sub" } } */