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
/
uninit-12-O0.c
blob
7c0664e4dfc4f7ffaa47e17c3d773d52f0276f63
1
/* PR 23497 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wuninitialized" } */
4
5
typedef
_Complex
float
C
;
6
C
foo
()
7
{
8
C f
;
9
__real__ f
=
0
;
10
__imag__ f
=
0
;
11
return
f
;
12
}