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
* fi.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
uninit-17-O0.c
blob
0eaef0533676cdd26e05696edb5921850b630222
1
/* { dg-do compile } */
2
/* { dg-options "-Wuninitialized" } */
3
4
typedef
_Complex
float
C
;
5
C
foo
(
int
cond
)
6
{
7
C f
;
8
__imag__ f
=
0
;
9
if
(
cond
)
10
{
11
__real__ f
=
1
;
12
return
f
;
13
}
14
return
f
;
15
}