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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr80218.c
blob
8669ee1275131f2d059c0ca92e8e40adcbe6054b
1
/* { dg-options "-O2 -fdump-rtl-ira-details-blocks" } */
2
/* { dg-require-effective-target c99_runtime } */
3
4
#include <math.h>
5
6
void
foo
(
float
*);
7
8
void
9
f1
(
float
*
x
)
10
{
11
x
[
0
] =
sqrtf
(
x
[
0
]);
12
}
13
14
void
15
f2
(
float
*
x
)
16
{
17
sqrtf
(
x
[
0
]);
18
foo
(
x
);
19
}
20
21
void
22
f3
(
float
*
x
)
23
{
24
acosf
(
x
[
0
]);
25
foo
(
x
);
26
}
27
28
/* { dg-final { scan-rtl-dump-not "Invalid sum" "ira" } } */