Runtime issue
Vardhan, Sundara (GE Infra, Energy)
sundara.vardhan@ge.com
Wed Oct 8 13:06:00 GMT 2008
Hi Baurzhan
Thanks for the info. How do you want me to check $pc-4. The same code
works fine on AIX/GCC 4.2.3.
With Regards
Vardhan
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Baurzhan Ismagulov
Sent: Wednesday, October 08, 2008 8:26 AM
To: gcc-help@gcc.gnu.org
Subject: Re: Runtime issue
Hello Vardhan,
On Wed, Oct 08, 2008 at 07:45:54AM -0400, Vardhan, Sundara (GE Infra,
Energy) wrote:
> t@1 (l@1) program terminated by signal BUS (invalid address alignment)
Invalid alignment is, for instance, accessing 4-byte words where the
address is not divisible by 4. Look at the instruction at $pc-4 and the
memory address referenced.
With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/
More information about the Gcc-help
mailing list