c-typeck.c (process_init_element): Avoid union init warnings on floating point zero.
* c-typeck.c (process_init_element): Avoid union init warnings on floating point zero. Don't crash on unions containing structs. testsuite: * gcc.dg/wtr-union-init-2.c, gcc.dg/wtr-union-init-3.c: New tests. From-SVN: r36358
Showing
gcc/testsuite/gcc.dg/wtr-union-init-2.c
0 → 100644
gcc/testsuite/gcc.dg/wtr-union-init-3.c
0 → 100644
Please
register
or
sign in
to comment