<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:zhonghao@pku.org.cn" title="Hao Zhong <zhonghao@pku.org.cn>"> <span class="fn">Hao Zhong</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - assert 'C++ binary operator overloading is missing candidates!'"
   href="https://bugs.llvm.org/show_bug.cgi?id=7051">bug 7051</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>zhonghao@pku.org.cn
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - assert 'C++ binary operator overloading is missing candidates!'"
   href="https://bugs.llvm.org/show_bug.cgi?id=7051#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - assert 'C++ binary operator overloading is missing candidates!'"
   href="https://bugs.llvm.org/show_bug.cgi?id=7051">bug 7051</a>
              from <span class="vcard"><a class="email" href="mailto:zhonghao@pku.org.cn" title="Hao Zhong <zhonghao@pku.org.cn>"> <span class="fn">Hao Zhong</span></a>
</span></b>
        <pre>I compile the testcase with the latest clang++. It produces an error message:

error: assigning to '_Ios_Iostate' from incompatible type 'int'
          __err |=1;
                ^ ~
    1 error generated.

However, g++ does not produce any compilation errors. I also report the problem
to gcc:<a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85460">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85460</a>

They may have a different opinion on this issue.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>