<html>
    <head>
      <base href="https://bugs.llvm.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 - gnu address-of-label extension parsing has too-high precedence"
   href="https://bugs.llvm.org/show_bug.cgi?id=39365">39365</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>gnu address-of-label extension parsing has too-high precedence
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>zturner@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>5 - <a href="https://godbolt.org/z/_XH9G1">https://godbolt.org/z/_XH9G1</a>

struct foo
{
unsigned short operator!=(const foo &)
{
    return 1;
}
};

extern void* p1;
extern void* p2;
extern foo f;

void bar()
{
    if (f != (foo()) && p1 == p2)
    {

    }
}

Removing the parentheses or removing the second conditional makes this work. 
Since this doesn't make sense as an address-of-label, we should prioritize
parsing this as what it actually is, which is ((f != foo()) && (p1 == p2))</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>