ham@polya.Stanford.EDU (Peter R. Ham) (05/23/89)
This all reflects version 1.34 of gcc. The C compiler available to me considers enums as shorts, so bitfield of type enum are not allowed. In rtl.h there is a define called "SHORT_ENUM_BUG" which is designed to cope with this problem. In the rtx_def structure definition, this should apply to both of the fields "code" and "mode". In tree.h, this define should apply to the "code" field of the "tree_common" structure definition. Finally, in varasm.c, this define should apply to the "kind" and "mode" fields of the rtx_const structure definition. I don't know if this has been fixed in later versions of gcc. If a decision has been made not to support "SHORT_ENUM_BUG" could someone please let me know. Has anyone else been having similar problems? -- Peter Ham PO Box 3430 (415) 324-4782 MS Computer Science Student Stanford, CA ham@polya.stanford.edu Stanford University 94309