Re: Cleanup for cryptographic algorithms vs. compiler optimizations



+-------[ Bernd Walter ]----------------------
| On Sun, Jun 13, 2010 at 05:44:29PM +0200, Dag-Erling Smørgrav wrote:
| > Bernd Walter <ticso@xxxxxxxxxxxxxxxxx> writes:
| > > Amazing - this is one of the things which can get nasty if you try some
| > > kind of microtuning.
| >
| > Only if you break the rules. Bad code is always bad, even if it
| > sometimes works by accident.
|
| To expect that function calls are replaced with other functions isn't a
| very obvious rule.

Don't turn on compiler optimisation then. You're explicitly telling
the compiler to make your code better/faster/smaller. Optimisation
flags always come with the caveat that your code may not work exactly
the same...

--
Andrew Milton
akm@xxxxxxxxxxxxxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"