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 target/55146
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr52870.c
blob
38518508bf6674e325e609534aa069c702a4c64a
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -ftree-vectorize" } */
3
4
long
5
test
(
int
*
x
)
6
{
7
unsigned long
sx
,
xprec
;
8
9
sx
= *
x
>=
0
? *
x
: -*
x
;
10
11
xprec
=
sx
*
64
;
12
13
if
(
sx
<
16384
)
14
foo
(
sx
);
15
16
return
xprec
;
17
}