<html>#2410: compiling Baikal with gcc >= 9.3 is very slow
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>It was found that is it  slow compile of Baikal code with gcc 9.3.0 or newer (10.1 is also affected)</p>
<ul>
<li>takes about 30 minutes to compile 8th order FD RHS using gcc 9.3.0 using <code>-O1</code> and <code>-march=core2</code></li>
<li>Zach and Roland have been looking into this</li>
<li>slowness goes away if one uses <code>gcc -Q -O1 --help=optimizers</code> which claims to report the options that are used by <code>-O1</code></li>
</ul>
<p>Zach wanted to look into moving operators into non-inlined files anyway which may fix the issue.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2410/compiling-baikal-with-gcc-93-is-very-slow'>https://bitbucket.org/einsteintoolkit/tickets/issues/2410/compiling-baikal-with-gcc-93-is-very-slow</a></p>
</html>