Enum signedness
Alexandre Oliva
aoliva@redhat.com
Sat Jul 29 10:50:00 GMT 2000
On Jul 29, 2000, Jan Hubicka <jh@suse.cz> wrote:
> Currently the comparisons agains enums are unsigned.
This bug was fixed with:
2000-07-26 Alexandre Oliva <aoliva@redhat.com>
* c-decl.c (finish_enum): Convert enumerations that fit in an
`int' to `int'.
(build_enumerator): In pedantic mode, cast to `int' those that
don't.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-patches
mailing list