Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.target
/
sparc
/
sparc-constant-1.c
blob: a882ffbf37279abeff11e6bce722c87e8b00949e [
file
] [
log
] [
blame
]
/* 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" } } */