This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -Wtraditional patch: augment union init warnings
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: -Wtraditional patch: augment union init warnings
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 11 Sep 2000 16:07:21 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200009112032.QAA01220@caip.rutgers.edu>you write:
> 2000-09-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * 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.
Approved. Please install.
jeff