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
Warn pointer to signed integer cast for ilp32
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr21032.c
blob
839a180cead2e2250214716ac28d72b204d2a136
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-optimized -frounding-math" } */
3
4
void
bar
(
float
x
);
5
void
foo
(
double
x
)
6
{
7
bar
(-
x
);
8
}
9
10
/* { dg-final { scan-tree-dump-not "-\\(float\\)" "optimized" } } */
11
/* { dg-final { cleanup-tree-dump "optimized" } } */