This is the mail archive of the
egcs@egcs.cygnus.com
mailing list for the EGCS project. See the EGCS
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: [PATCH] Fix for short-enums comparison bug
- To: gavin@cygnus.com (Gavin Romig-Koch)
- Subject: Re: [PATCH] Fix for short-enums comparison bug
- From: Joern Rennecke <amylaar@cygnus.co.uk>
- Date: Thu, 11 Feb 1999 15:24:24 +0000 (GMT)
- Cc: law@cygnus.com, cgw@alum.mit.edu, egcs@egcs.cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-Reply-To: <14018.60839.325601.426391@cetus.cygnus.com> from Gavin Romig-Koch at "Feb 11, 99 09:48:07 am"
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- Sender: owner-egcs@egcs.cygnus.com
> It looks like GCC is choosing unsigned char for this particular enum
> with -fshort-enums, which is ok standard-wise. Given this though,
> I don't see why this example shouldn't work the same as it does without
> -fshort-enums.
It's probably a biv elimination problem. Try -fno-strength-reduce.