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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr59374-1.c
blob
6230ae9ca3d01d659c31dac1cdd2bf127685453f
1
/* { dg-do run } */
2
/* { dg-additional-options "-ftree-slp-vectorize" } */
3
4
extern
void
abort
(
void
);
5
6
static struct
X
{
void
*
a
;
void
*
b
; }
a
,
b
;
7
8
void
__attribute__
((
noinline
))
9
foo
(
void
)
10
{
11
void
*
tem
=
a
.
b
;
12
a
.
b
= (
void
*)
0
;
13
b
.
b
=
tem
;
14
b
.
a
=
a
.
a
;
15
}
16
17
int
main
()
18
{
19
a
.
b
= &
a
;
20
foo
();
21
if
(
b
.
b
!= &
a
)
22
abort
();
23
return
0
;
24
}