This is the mail archive of the
mailing list for the GCC project.
Re: Reorder some tree codes
Nathan Sidwell wrote:
Zack Weinberg wrote:
Reducing the width of IN_RANGE from unsigned HOST_WIDE_INT to unsigned
makes me nervous. Why did you need to do that?
I had thought that IN_RANGE was no longer used anywhere, but clearly
I had a grep malfunction. I've now found one other use in java/lex.c,
the value is a unicode_t type. I was worried about lame sign extensions
confusing things where HOST_WIDE_INT was wider than plain unsigned.
The majority of the uses are actually in config/*/*.c, which surprised
me as well. Some of those operate on INTVAL, so I think that it
probably is incorrect to use anything except HOST_WIDE_INT, sad though