<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jyknight@google.com" title="James Y Knight <jyknight@google.com>"> <span class="fn">James Y Knight</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Miscompiled one-past-the-end pointer comparison"
   href="https://bugs.llvm.org/show_bug.cgi?id=13507">bug 13507</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;">Resolution</td>
           <td>---
           </td>
           <td>DUPLICATE
           </td>
         </tr>

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

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>jyknight@google.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Miscompiled one-past-the-end pointer comparison"
   href="https://bugs.llvm.org/show_bug.cgi?id=13507#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Miscompiled one-past-the-end pointer comparison"
   href="https://bugs.llvm.org/show_bug.cgi?id=13507">bug 13507</a>
              from <span class="vcard"><a class="email" href="mailto:jyknight@google.com" title="James Y Knight <jyknight@google.com>"> <span class="fn">James Y Knight</span></a>
</span></b>
        <pre>This was fixed a while back, so marking as dup of that issue.

Author: Richard Smith <<a href="mailto:richard-llvm@metafoo.co.uk">richard-llvm@metafoo.co.uk</a>>
Date:   Tue Oct 21 23:01:04 2014 +0000

    PR21327 / C++ DR1652 / C++ DR73: comparing a past-the-end pointer for one
    complete object to a pointer to the start of another complete object does
    not evaluate to the constant 'false'. All other comparisons between the
    addresses of subobjects of distinct complete objects still do.

    llvm-svn=220343

*** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Invalid optimization for "==" on pointers"
   href="show_bug.cgi?id=21327">bug 21327</a> ***</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>