This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Effects of Link Time Optimizations in Illegal Libraries


On Thu, Mar 28, 2013 at 8:45 PM, Jeffrey Walton <noloader@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]