Segfaulting test-case with -flto

Michael Meeks michael.meeks at collabora.com
Thu Apr 19 12:38:52 UTC 2018


Hi Martin,

On 19/04/18 13:33, Martin Liška wrote:
> I'm GCC developer with high focus on LTO. We are trying to
> use the -flto in production.

	Nice =) Hopefully with some PGO goodness after that too ...

> I can confirm that current trunk looks fine. But before that I
> added -flifetime-dse=1 to paper over the issue. Please -Wclass-memaccess> new warnings that will come with GCC 8 that should
> find places where a memset is used to initialize a class fields.

	Would be great to have a configure.ac patch that checks for that option
and uses it if it is present - it might also be nice to have some
compile output from using that option - to file an easy-hack bug to go
fix all those places (?) =)

	All the best,

		Michael.

-- 
michael.meeks at collabora.com <><, Pseudo Engineer, itinerant idiot


More information about the LibreOffice mailing list