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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr80907.c
blob
56e1d3625936345f5c0c990228f4a0fd558fcbce
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -Warray-bounds" } */
3
4
5
6
int
x
[
3
];
7
int
n
=
2
;
8
void
foo
()
9
{
10
for
(
int
i
=
0
;
i
<
n
;
i
++)
for
(
int
j
=
0
;
j
<=
i
;
j
++)
x
[
i
+
j
]++;
11
}
12