Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!mips!apple!fernwood!uupsi!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.sys.apple2 Subject: Re: ORCA C - word alignment problems? Message-ID: <16127@smoke.brl.mil> Date: 11 May 91 03:53:09 GMT References: <1991May10.192049.19984@jarvis.csri.toronto.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 18 In article <1991May10.192049.19984@jarvis.csri.toronto.edu> martinn@csri.toronto.edu (Tippi Chai) writes: >To all you experienced ORCA C compiler gurus out there - HELP! >We're working on a large program with ORCA/C and the compiler >does strange and not so wonderful things, e.g. calling a routine >at point B would cause the program to crash at point A, where >A comes before B. Is anyone aware of a word alignment problem >with ORCA/C? with one of the C compilers we've worked with >on another system, if your program contains structs that >are not explicity word aligned you'll have problems. Structure alignment is not an issue with ORCA/C, nor should it be for any correct C compiler. In the case of the 65816, data space is all byte addressable anyway. Bug symptoms (for either program or compiler bugs) can show up in quite strange ways. If you haven't upgraded to release 1.2 of ORCA/C, I urge you to do so IMMEDIATELY. That will solve a LOT of problems, although not all of them.