On Thu, Mar 28, 2013 at 8:45 PM, Jeffrey Walton <noloader@xxxxxxxxx> wrote: > > I know its sounds crazy, but what are the effects of LTO in libraries > with illegal code? > > Can a library be tested without -flto and pass its tests, but fail to > operate correctly when used in production due to the optimizer > dropping illegal code? Yes, that is possible. Ian