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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr57518.c
blob
4c84f30baef30432450d01159eb4b9c919ac9ab1
1
/* PR rtl-optimization/57518 */
2
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -fdump-rtl-ira" } */
5
6
char
ip
[
10
];
7
int
total
;
8
9
void
foo
() {
10
int
t
;
11
12
t
=
ip
[
2
];
13
total
=
t
&
0x3
;
14
}
15
16
/* { dg-final { scan-rtl-dump-not "REG_EQUIV\[^\n\]*mem\[^\n\]*\"ip\".*subreg" "ira" } } */