Hi,
Reference:
> From:         Jille Timmermans <ji...@quis.cx> 
> Date:         Thu, 12 Feb 2009 17:34:23 +0100 
> Message-id:   <49944f8f.5080...@quis.cx> 

Jille Timmermans wrote:
> Julian Stacey schreef:
> >> 1) Is it worth my time trying to rearrange structs? 
> > 
> > I wondered whether as a sensitivity test, some version of gcc (or
> > its competitor ?) might have capability to automatically re-order
> > variables ?  but found nothing in man gcc "Optimization Options".
> There is a __packed attribute, I don't know what it exactly does and 
> whether it is an improvement.

Ah:     gcc -fpack-struct

Cheers,
Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
  Mail plain ASCII text.  HTML & Base64 text are spam. www.asciiribbon.org
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to