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
* gcc.c-torture/execute/20101011-1.c: Skip on SH.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr38212.c
blob
867d4c17431645eecdcfc480289575619b57bb02
1
int
__attribute__
((
noinline
))
2
foo
(
int
*
__restrict p
,
int
i
)
3
{
4
int
*
__restrict q
;
5
int
*
__restrict r
;
6
int
v
,
w
;
7
q
=
p
+
1
;
8
r
=
q
-
i
;
9
v
= *
r
;
10
*
p
=
1
;
11
w
= *
r
;
12
return
v
+
w
;
13
}
14
extern
void
abort
(
void
);
15
int
main
()
16
{
17
int
i
=
0
;
18
if
(
foo
(&
i
,
1
) !=
1
)
19
abort
();
20
return
0
;
21
}
22