This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Java GC descriptor vs. tree_int_cst on 64-bit platforms
- To: hans_boehm at hp dot com
- Subject: Re: Java GC descriptor vs. tree_int_cst on 64-bit platforms
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 28 Mar 01 09:57:48 EST
- Cc: gcc at gcc dot gnu dot org, java at gcc dot gnu dot org
(I may be misunderstanding the code here.) It looks like there is
confusion about what goes into an INTEGER_CST node, or equivalently
what the arguments to build_int_2 should be. On a 64-bit host and
target, there are two possibilities:
2) The low field is 64 bits and the high field can be ignored. (The
declaration of struct tree_int_cst seems to imply this, since both
fields end up 64 bits wide. So does the comment in tree.h.)
Both fields are 64-bit and both are used. If it's a 64-bit constant,
the high bits must be either -1 or 0.