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



On Nov 24, 2004, at 3:46 PM, Richard Kenner wrote:


We discussed this a while ago and you were concerned about the call that
didn't check the result.


I now think it's an error to use the bounds of a subtype even if they are
constant, so I changed to using the bounds of the underlying type, which are
always constant.


Does this seem the correct approach? (I haven't tested it yet.)

I assume this fixes the following acats tests: c34002a c460007 cc1221d

There might be more but I had forgot to write them down (well copy the
ICE).

Thanks,
Andrew Pinski


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