Date: Sun, 7 Mar 2010 23:21:46 +0100 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: freebsd-hackers@FreeBSD.ORG Subject: Dead store elimination in the kernel? Message-ID: <20100307232146.6b57f610@davenulle.org>
next in thread | raw e-mail | index | archive | help
Hello, I'm asking if FreeBSD is safe regarding dead store elimination made by gcc? By example, in crypto drivers, sensitive datas are cleared by a bzero() after use to avoid potential leakages. But the bzero() by itself is useless, is it removed by gcc? Thanks, regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100307232146.6b57f610>