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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-condneg-2.c
blob
1af24636ec764eedde843e4274e9bbb439aa3197
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftrapv -fdump-tree-optimized" } */
3
4
#define INT_MIN (-__INT_MAX__ - 1)
5
6
int
test
(
int
x
)
7
{
8
return
x
!=
INT_MIN
? -
x
:
INT_MIN
;
9
}
10
11
/* { dg-final { scan-tree-dump "goto" "optimized" } } */