Re: quetion for gcc on hpux

2005-02-23 Thread dai yiyang
ndle unaligned access by default , for me , maybe use libunalign.so on IA64 is the best way .I really don't want to change the code . Regards, Yiyang From: Eljay Love-Jensen <[EMAIL PROTECTED]> To: dai yiyang <[EMAIL PROTECTED]>, gcc@gcc.gnu.org, [EMAIL PROTECTED] Subject: Re: quetion

Re: quetion for gcc on hpux

2005-02-23 Thread Eljay Love-Jensen
Hi Dai, If you choose not to change the bad code that is causing a SIGBUS, I believe you cannot use GCC since (as far as I am aware) GCC does not provide a mechanism *IN THE COMPILE/LINK* to catch the SIGBUS signal and do the byte-by-byte manipulation to complete the action. Such handling of a

quetion for gcc on hpux

2005-02-23 Thread dai yiyang
hello there : I have a piece of code which will cause SIGBUS ( unaligned access ) under HPUX-11.23 It will be optimized with +u1 option if I use HP C/C++ compiler and the bus error will never appear. But when swtich to using gcc for hpux , there is no compiler option can op