This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
quetion for gcc on hpux
- From: "dai yiyang" <daiyiyang at hotmail dot com>
- To: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Wed, 23 Feb 2005 18:27:52 +0800
- Subject: quetion for gcc on hpux
- Bcc:
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 optimize such kind of unaligned access code .
If I do not choose modify the code , is there any other choose I
can take to make code running ?
Regards,
Yiyang
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn