Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
gcc.target
/
sparc
/
sparc-constant-1.c
blob: 491f9d3f8b0e63d2121cf5c49db6daf34c2cc4b0 [
file
] [
log
] [
blame
]
/* PR optimization/10876 */
/* { dg-do compile } */
/* 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" } } */