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
Added support for Cilk Plus SIMD-enabled function for C.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
cilk-plus
/
SE
/
ef_error3.c
blob
ab55fae0c326cf124dabd2fbef1a3cf15636b4a8
1
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
2
/* { dg-options "-fcilkplus -Wall" } */
3
4
__attribute__
((
vector
(
linear
(
x
:
y
))))
5
int
func2
(
int
x
,
int
y
)
6
{
/* { dg-message "using parameters for" } */
7
return
(
x
+
y
);
8
}
9
10
int
main
(
void
)
11
{
12
return
(
func2
(
5
,
6
));
13
}