On INTEGER_CST

Paulo J. Matos pocm@soton.ac.uk
Tue Mar 13 11:04:00 GMT 2007


Hello all,

INTEGER_CST seems to have TREE_INT_CST_LOW and TREE_INT_CST_HIGH
fields (tree.def). Each has 32 bits.
1 - Should I use ints for these fields?
2 - If the INTEGER_CST is negative, is the negative part only in one
of the high or low fields, i.e. low is always unsigned and high is
always signed? If not, how do I know if the constant is signed or
unsigned?

Cheers,
-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK



More information about the Gcc mailing list