<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GCC warning in testb3.cpp testAbsArgWithEffectfulDoubleConversion"
   href="https://bugs.webkit.org/show_bug.cgi?id=163869">163869</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GCC warning in testb3.cpp testAbsArgWithEffectfulDoubleConversion
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mcatanzaro&#64;igalia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>ggaren&#64;apple.com, keith_miller&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Since r207696 &quot;Expand Trunc in B3 to support Double to Float&quot;:

[284/3418] Building CXX object Source/...akeFiles/testb3.dir/__/b3/testb3.cpp.o
../../Source/JavaScriptCore/b3/testb3.cpp: In function ‘void {anonymous}::testAbsArgWithEffectfulDoubleConversion(float)’:
../../Source/JavaScriptCore/b3/testb3.cpp:3832:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
     CHECK(isIdentical(effect, fabs(a)));
                                      ^
../../Source/JavaScriptCore/b3/testb3.cpp:100:16: note: in definition of macro ‘CHECK’
         if (!!(x))                                                      \
                ^
In file included from ../../Source/JavaScriptCore/b3/air/AirArg.h:31:0,
                 from ../../Source/JavaScriptCore/b3/air/AirCode.h:30,
                 from ../../Source/JavaScriptCore/b3/testb3.cpp:28:
../../Source/JavaScriptCore/b3/B3Common.h:67:13: note: candidate 1: bool JSC::B3::isIdentical(double, double)
 inline bool isIdentical(double left, double right)
             ^~~~~~~~~~~
../../Source/JavaScriptCore/b3/B3Common.h:72:13: note: candidate 2: bool JSC::B3::isIdentical(float, float)
 inline bool isIdentical(float left, float right)
             ^~~~~~~~~~~
../../Source/JavaScriptCore/b3/testb3.cpp: In function ‘void {anonymous}::testSqrtArgWithEffectfulDoubleConversion(float)’:
../../Source/JavaScriptCore/b3/testb3.cpp:4336:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
     CHECK(isIdentical(effect, sqrt(a)));
                                      ^
../../Source/JavaScriptCore/b3/testb3.cpp:100:16: note: in definition of macro ‘CHECK’
         if (!!(x))                                                      \
                ^
In file included from ../../Source/JavaScriptCore/b3/air/AirArg.h:31:0,
                 from ../../Source/JavaScriptCore/b3/air/AirCode.h:30,
                 from ../../Source/JavaScriptCore/b3/testb3.cpp:28:
../../Source/JavaScriptCore/b3/B3Common.h:67:13: note: candidate 1: bool JSC::B3::isIdentical(double, double)
 inline bool isIdentical(double left, double right)
             ^~~~~~~~~~~
../../Source/JavaScriptCore/b3/B3Common.h:72:13: note: candidate 2: bool JSC::B3::isIdentical(float, float)
 inline bool isIdentical(float left, float right)
             ^~~~~~~~~~~</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>