Hi,
Reference:
> From:         Jille Timmermans <[email protected]> 
> Date:         Thu, 12 Feb 2009 17:34:23 +0100 
> Message-id:   <[email protected]> 

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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to