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
PR tree-optimization/81303
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
20031021-1.c
blob
e86a2a5e0ff0e10795058f664cb7a6a210213e2f
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-optimized" } */
3
4
struct
A
5
{
6
int
i
:
8
;
7
};
8
9
signed char
c1
,
c2
;
10
struct
A a
;
11
12
int
main
()
13
{
14
a
.
i
=
c1
;
15
c2
=
a
.
i
;
16
return
a
.
i
;
17
}
18
19
/* We should only store to a.i, not load from it. */
20
/* { dg-final { scan-tree-dump-not "= a.i" "optimized" } } */