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
testsuite: Add -Wno-psabi to pr104505.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr46562.c
blob
c6b85748d8497b69fd4138a00a988bfa93bd518b
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-ccp1" } */
3
4
static const int
a
[
4
] = {};
5
int
foo
(
void
)
6
{
7
int
i
=
1
;
8
const int
*
p
= &
a
[
i
];
9
return
*
p
;
10
}
11
12
/* { dg-final { scan-tree-dump "return 0;" "ccp1" } } */