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
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Warray-bounds-7.c
blob
fdd95789abaa576bb5ea5c2496c168dc4c312cfc
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -Warray-bounds" } */
3
4
char
*
p
;
5
6
int
main
()
7
{
8
p
=
""
;
9
if
(
p
[
0
] ==
0
10
|| (
p
[
0
] ==
'_'
&&
p
[
1
] ==
0
))
/* { dg-bogus "array bounds" "" } */
11
return
0
;
12
return
1
;
13
}