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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr116454-1.c
blob
6210dcce4a42a226be86252c793867aa5a419b82
1
/* { dg-do run } */
2
/* { dg-additional-options "-ffast-math" } */
3
4
static int
t
=
0
;
5
_Complex
float
f
()
6
{
7
t
++;
8
return
0
;
9
}
10
int
main
() {
11
t
=
0
;
12
/* Would cause f() to be incorrectly invoked twice. */
13
f
() *
1
j
;
14
if
(
t
!=
1
)
15
__builtin_abort
();
16
}