OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Index: libcpp/ChangeLog
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
sparc-constant-1.c
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" } } */