"Andrew Dunstan" <[EMAIL PROTECTED]> writes: > Interestingly, a lot of the comparison and call to memset() still seem to be > optimised away, but the loop from MemSet is left, so the multiplication is > also not optimised away.
Yeah, I saw the same in gcc 3.2 (on Intel) yesterday. I thought maybe 3.3 would fix that, since it sure looks like an optimization bug, but evidently not. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster