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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr50451.c
blob
b749a2c6cc7e3ab08d00cbf175c2be85c3381899
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
int
5
foo
(
int
integral
,
int
decimal
,
int
power_ten
)
6
{
7
while
(
power_ten
>
0
)
8
{
9
integral
*=
10
;
10
decimal
*=
10
;
11
power_ten
--;
12
}
13
14
return
integral
+
decimal
;
15
}
16
17