sun studio 11 64 bit problem

Hi all

I am having trouble in running my code on 64 bit compilation bu sun studio 11.

The same code is working fine on 32 bit compilation.

I am using the following compile time flags

CC -g -xs -xarch=v9 -xO0 -D_XPG4_2 -D__EXTENSIONS__

tried to debug the code using dbx and it is showing address misaligned problem.

Can someone please help as to why the problem is on 64 bit only.

The problem gets resoved if i use another compile time flag

-xmemalign=8f

Thanks

Nimish

[534 byte] By [bhu_nimisha] at [2007-11-27 5:27:47]
# 1
Run the CC with -xdryrun option; and see what is being passed by the compiler driver.If you don't want any optimizations by the compiler, you don't have to specify -xO option at all.
giri04a at 2007-7-12 14:49:38 > top of Java-index,Solaris Operating System,Solaris 10 Features...