<html>#2426: g++-10 possibly miscompiles parts of Carpet
<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>Other</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Thank you. I will give it  a try and if this fixes the issue for me as well propose it for backporting to the release branch. Looking at the code in the branch the commit <a data-is-external-link="true" href="https://bitbucket.org/eschnett/carpet/commits/412c8c068448466788b33ac405941aa59c6fea3c" rel="nofollow">412c8c06</a> "Carpet: Adapt math functions to recent flesh changes" of <a data-is-external-link="true" href="https://bitbucket.org/eschnett/carpet" rel="nofollow">carpet</a> probably will block a direct merge into master since those “recent flesh changes” never made it the flesh’s master since they break on QueenBee (see <a data-is-external-link="true" href="https://bitbucket.org/einsteintoolkit/tickets/issues/2407/cactus-math-work-arounds-break-carpetx#comment-57679212" rel="nofollow">https://bitbucket.org/einsteintoolkit/tickets/issues/2407/cactus-math-work-arounds-break-carpetx#comment-57679212</a> in #2470),</p>
<p>This patch most likely makes Carpet fail (more) to compile when <code>CARPET_DISABLE_BBOXSET2</code> is set. Given that BBOXSET1 is no longer used on any clusters by default and thus slowly goes out of sync with bboxset2 over time, do you want me to add code to bboxset1 to provide <code>iterator()</code> (should be trivial, namely returning <code>*this</code> ought to do) or plan to retire bboxset1?</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2426/g-10-possibly-miscompiles-parts-of-carpet'>https://bitbucket.org/einsteintoolkit/tickets/issues/2426/g-10-possibly-miscompiles-parts-of-carpet</a></p>
</html>