Constants created in CExprEvaluator using hardcoded types. Hence their (type) sizes not consistent with machine. bash-3.2$ uname -p i686 --- (fhpd) print sizeof 1 [0.0] 8 --- Expected size of long: 4
Marking fixed for now. In the future, ExprSymTab/Config may be required to provide other type sizes as well. Commit: Use word size of machine to create long type, instead of hard coded size of 8 bytes. frysk-core/frysk/expr/ChangeLog 2007-11-20 Teresa Thomas <tthomas@redhat.com> * CExprEvaluator.g: Use word size of machine to create long type. * TestbedSymTab.java (getWordSize): Return machine word size.