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: 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, where
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 that is.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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