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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
pr110514c.d
blob
94779e123a4e995efe6b2fcd2c4d694bb93d7eec
1
// { dg-do "compile" }
2
// { dg-options "-O" }
3
const uint
[]
cst_arr
= [
1
,
2
,
3
];
4
int
test_cst
(
const uint
[]
ptr
)
5
{
6
return
cst_arr
[
2
] ==
3
;
7
}
8
// { dg-final { scan-assembler "_d_arraybounds_indexp" } }