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.target
/
i386
/
pr30120.c
blob
22fd843a79f8a695823d73f274d94e4bd635cad0
1
/* { dg-do run } */
2
/* { dg-options "-O2 -ffast-math" } */
3
4
extern
void
abort
(
void
);
5
6
static void
7
foo
(
double
a
,
double
weight
,
const double
*
ring
,
double
*
phase
)
8
{
9
*
phase
= *
ring
*
weight
;
10
}
11
12
void
13
foo2
(
void
)
14
{
15
foo
(
0
,
1
, (
double
*)
0
, (
double
*)
0
);
16
}
17
18
int
19
main
(
void
)
20
{
21
double
t1
=
1
,
c1
;
22
foo
(
0
,
1
, &
t1
, &
c1
);
23
if
(
c1
<
0.5
)
24
abort
();
25
26
return
0
;
27
}