Re: alignment of an array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ranjith kumar wrote:
Why gcc keeps int a[0] at aligned address??

Why shouldn't it? Unaligned accesses are slow on systems that support them. Others (SPARC for example) just raise SIGBUS.

--
Matthew
"A mouse is a device used to point at the xterm you want to type in."
  --Kim Alm, A.S.R.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux