Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Strict-aliasing warnings

Wayne Davison wrote:
> That is the intent of using the (void *) cast -- it _should_ let the
> optimizer know that that variable needs to be refetched.  However, I'm
> not 100% sure that this is enough to make sure that the optimizations
> are valid or if it's only enough to just silence the warnings.

Well, one would hope they were tied together...

One would also hope no-one else was messing around with the pointer at the
same time, or there is a bug.  However, with zsh's, er, organic growth it's
hard to be sure.

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


Messages sorted by: Reverse Date, Date, Thread, Author