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
i386: Fix AVX512 intrin macro typo
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
alias-1.c
blob
d542f23b3b5dc86b256550c8b0063494b82e7dcd
1
int
val
;
2
3
int
*
ptr
= &
val
;
4
float
*
ptr2
= (
float
*) &
val
;
5
6
__attribute__
((
optimize
(
"-fno-strict-aliasing"
)))
7
void
8
typepun
(
void
)
9
{
10
*
ptr2
=
0
;
11
}
12
13
int
14
main
(
void
)
15
{
16
*
ptr
=
1
;
17
typepun
();
18
if
(*
ptr
)
19
__builtin_abort
();
20
}
21