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
tree-optimization/111233 - loop splitting miscompile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr94206.c
blob
9e54bba4ed400430768fe9231fa7ec3abb992791
1
/* { dg-do run { target lp64 } } */
2
3
struct
{
4
unsigned long
x
:
33
;
5
}
s
;
6
typedef
__typeof__
(
s
.
x
+
0
)
uint33
;
7
8
int
main
()
9
{
10
uint33 x
;
11
__builtin_memset
(&
x
, -
1
,
sizeof
x
);
12
unsigned long
u
;
13
__builtin_memcpy
(&
u
, &
x
,
sizeof
u
);
14
if
(
u
!= -
1ul
)
15
__builtin_abort
();
16
return
0
;
17
}