This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]