<p>Chris Savinovich <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10939">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">force_inline: remove all force_inline from asterisk.<br><br>A bug in GCC causes arithmetic calculations to fail if the<br>following conditions are met:<br>1. TEST_FRAMEWORK on<br>2. DONT_OPTIMIZE off<br>3. Fedora and Ubuntu<br>4. GCC 8.2.1<br>5. There must exist a certain combination of multithreading.<br>6. Optimization level -O2 and -O3<br>7. Flag -fpartial-inline activated (happens automatically when -O2)<br>Forcing inlining in our code is the actual bug trigger. The new<br>concensus is that it is best to leave it to the compiler to determine<br>what to inline. Therefore this fix removes all instances of custom<br>type force_inline wherever possible throughout the Asterisk code.<br><br>Change-Id: I2a90249763a7139fd12c54ad4e0e8d5cbbed14f9<br>---<br>M include/asterisk/sem.h<br>M include/asterisk/strings.h<br>M include/asterisk/utils.h<br>M main/audiohook.c<br>M main/sem.c<br>M main/strings.c<br>M main/utils.c<br>7 files changed, 184 insertions(+), 152 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/39/10939/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10939">change 10939</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10939"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I2a90249763a7139fd12c54ad4e0e8d5cbbed14f9 </div>
<div style="display:none"> Gerrit-Change-Number: 10939 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Chris Savinovich <csavinovich@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua C. Colp <jcolp@digium.com> </div>