repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/20061124-1.c: Add exit() function prototype.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
sparc-constant-1.c
blob
bb4b1bce4f837a7898df4e7eb7969d8dbda1feed
1
/* PR optimization/10876 */
2
/* { dg-do compile { target sparc*-*-* } } */
3
4
/* Verify that adding the constant 4096 is turned
5
into substracting the constant -4096. */
6
7
int
foo
(
int
a
)
8
{
9
return
a
+
4096
;
10
}
11
12
/* { dg-final { scan-assembler "sub" } } */