<p>Chris Savinovich <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10931">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">force_inline: remove force_inline type 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 error trigger, since it is<br>best to leave it to the compiler to determine what to inline (or so is<br>the new consensus).  Therefore this fix removes all instances of<br>type force_inline wherever possible throughout the Asterisk code.<br><br>Change-Id: Iad74c085d98eb61132f39d39c977ceb170d21fc9<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 utils/extconf.c<br>7 files changed, 167 insertions(+), 184 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/31/10931/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10931">change 10931</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/10931"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Iad74c085d98eb61132f39d39c977ceb170d21fc9 </div>
<div style="display:none"> Gerrit-Change-Number: 10931 </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>