projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
indentation fixed
[libfirm]
/
ir
/
be
/
test
/
fehler24.c
1
/* The tarval module fails to negate the constant and returns TV_OVERFLOW_BAD
2
* when optimising the comparison (-x < 0 -> x > 0). It is not expected that
3
* the negation fails and an assertion while constructing the negated constant
4
* is triggered */
5
6
int f(double x)
7
{
8
return -x < 0;
9
}
10
11
12
int main(void)
13
{
14
return 0;
15
}