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-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr44028.c
blob
33452172bd76a07ea8650296dcca80effd13a34a
1
/* PR debug/44028 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fcompare-debug" } */
4
/* { dg-options "-O3 -fsched-pressure -fschedule-insns -fcompare-debug" { target i?86-*-* x86_64-*-* } } */
5
6
struct
S
{
int
val
[
16
]; };
7
8
static
inline
int
9
bar
(
struct
S x
)
10
{
11
long double
pc
=
0
;
12
int
i
;
13
for
(
i
=
0
;
i
<
16
;
i
++)
14
pc
+=
x
.
val
[
i
];
15
return
pc
;
16
}
17
18
int
19
foo
(
struct
S x
)
20
{
21
return
bar
(
x
);
22
}