This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enum initialization modifies expression's type
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: Enum initialization modifies expression's type
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 23 May 2000 22:25:25 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <orhfboejl4.fsf@tamanduatei.dcc.unicamp.br>
On Wed, May 24, 2000 at 12:02:47AM -0300, Alexandre Oliva wrote:
> * c-decl.c (build_enumerator): Don't modify the value's type,
> convert it.
>
> * gcc.c-torture/compile/20000523-1.c: New test.
Ok.
r~