"Alex Gonzalez" <[EMAIL PROTECTED]> writes: > I was under the assumption that the compiler made sure that it doesn't > store a doubleword that is not aligned on a doubleword boundary. Is > this a bug in the optimizer?
If the pointers are not correctly aligned for their target type then you are invoking undefined behaviour. If the aligment of PVAR is at least doubleword then the compiler may use doubleword accesses for copying. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."