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



> 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.