Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


On 04/19/2018 02:56 PM, Stephan Bergmann wrote:
Not sure how -Wclass-memaccess is relevant for LTO? 

It's much easier to end up with an UBSAN that eventually causes a SEGFAULT.
That's my experience learned from Firefox.

 Anyway, had cleaned up LO master the other day to compile with upcoming GCC 8, committing various 
improvements (see `git log --grep=-Werror=class-memaccess`). Only a couple places seemed not so 
easy to fix (without introducing potential performance regressions), so they remained in the state 
of local TODO patches for now:

I see. As mentioned one either needs to be lucky, or to enable -flifetime-dse=1.

Thanks for following the Warnings and doing the clean-up.

Martin


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.