<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Tests fail to build when build with LTO on gcc 5.3.0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94602#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Tests fail to build when build with LTO on gcc 5.3.0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94602">bug 94602</a>
from <span class="vcard"><a class="email" href="mailto:ppaalanen@gmail.com" title="Pekka Paalanen <ppaalanen@gmail.com>"> <span class="fn">Pekka Paalanen</span></a>
</span></b>
<pre>I'd guess -flto is throwing away the special section where we collect the test
headers. The section is used to avoid having to create a master list of all
tests in addition to writing the tests.
Is there a way to mark that section to not be deleted by LTO?
We rely on the compiler to automatically generate __start_test_section and
__stop_test_section when putting things into the section.
Gains size? You mean it's bigger with LTO?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>