projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr15791-1.c
1
/* { dg-do link } */
2
3
void
link_error
();
4
5
int
main
()
6
{
7
struct
{
int
b
[
2
]; }
x
;
8
int
b
[
2
];
9
if
(&
b
[
1
] != &
b
[
1
])
10
link_error
();
11
if
(&
b
[
0
] !=
b
)
12
link_error
();
13
if
(
b
== &
b
[
2
])
14
link_error
();
15
if
(
b
!=
b
)
16
link_error
();
17
if
(&
x
.
b
[
1
] == &
x
.
b
[
0
])
18
link_error
();
19
if
(
x
.
b
!= &
x
.
b
[
0
])
20
link_error
();
21
if
(&
x
.
b
[
1
] ==
x
.
b
)
22
link_error
();
23
return
0
;
24
}
25