This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Handling non-constant bounds in extract_range_from_cond
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: law at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Nov 04 20:14:30 EST
- Subject: Re: Handling non-constant bounds in extract_range_from_cond
I thought they were used for enumerations.
I don't think so, but in any event the code in question has a comment
saying it doesn't do anything for enumerations since it doesn't pay.
> As I said, the problem with that is that these conversions tend to be
> stripped off by the optimizers. I suppose we could view those removals
> as bugs ...
I would certainly consider that a bug.
OK, let me investigate that direction.