Cleanup for cryptographic algorithms vs. compiler optimizations

Bernd Walter ticso at cicely7.cicely.de
Sun Jun 13 08:13:41 UTC 2010


On Sun, Jun 13, 2010 at 12:17:50AM +0000, Bruce Cran wrote:
> On Sun, Jun 13, 2010 at 12:52:16AM +0200, Bernd Walter wrote:
> > I'm at least sure that the compiler can't if it is linked from another
> > object file.
> 
> Is that still true if LTO is enabled?

Good question - I wasn't aware of LTO.
My precondition was that the function doesn't see what is done with
the result and LTO invalidates this.

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-current mailing list