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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
mpx
/
sincos-1-nov.c
blob
da5f301a19a0f09745e5079d294b9e4974cf4b92
1
/* { dg-do run } */
2
/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
3
/* { dg-additional-options "-lm" } */
4
5
6
#include
"mpx-check.h"
7
#include
"math.h"
8
9
int
mpx_test
(
int
argc
,
const char
**
argv
)
10
{
11
double
d1
,
d2
;
12
d1
=
sin
(
argc
);
13
d2
=
cos
(
argc
);
14
15
printf
(
"%f %f
\n
"
,
d1
,
d2
);
16
17
return
0
;
18
}