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-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr83985.c
blob
51cfc49a193c5922ad935a0bab31dea8b28bdb43
1
/* PR rtl-optimization/83985 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
/* { dg-additional-options "-mcpu=e300c3 -mtune=e300c3" { target { powerpc*-*-* && ilp32 } } } */
5
6
long long int
v
;
7
8
void
9
foo
(
int
x
)
10
{
11
if
(
x
==
0
)
12
return
;
13
14
while
(
v
<
2
)
15
{
16
signed char
*
a
;
17
v
/=
x
;
18
a
=
v
==
0
? (
signed char
*) &
x
: (
signed char
*) &
v
;
19
++*
a
;
20
++
v
;
21
}
22
23
while
(
1
)
24
;
25
}