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-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
alpha
/
pr83628-1.c
blob
a4a32d989693af2eeaed36a1e80f98aee224490d
1
/* PR target/83628 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
typedef
__SIZE_TYPE__
size_t
;
6
7
int
8
get_int
(
int
*
p
,
size_t
idx
)
9
{
10
return
p
[
idx
];
11
}
12
13
long
14
get_long
(
long
*
p
,
size_t
idx
)
15
{
16
return
p
[
idx
];
17
}
18
19
/* { dg-final { scan-assembler-not "\[ \t\]add\[ql\]" } } */