<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 - After r297702, assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file include/llvm/Support/Casting.h, line 255."
   href="https://bugs.llvm.org/show_bug.cgi?id=33653">33653</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>After r297702, assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file include/llvm/Support/Casting.h, line 255.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dimitry@andric.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The fix for <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Incomplete class information in Ivar objects in libobjc2 code on Linux"
   href="show_bug.cgi?id=30413">bug 30413</a>, which was committed in
<a href="https://reviews.llvm.org/rL297702">https://reviews.llvm.org/rL297702</a>, breaks at least the FreeBSD devel/sope2 and
devel/sope3 ports, but maybe also some other Objective-C programs using
GNUstep.

See the clang 5.0.0 tests in <a href="https://bugs.freebsd.org/219139">https://bugs.freebsd.org/219139</a>, in particular
<a href="http://package18.nyi.freebsd.org/data/headamd64PR219139-default/2017-05-22_13h01m42s/logs/errors/sope2-2.3.20.log">http://package18.nyi.freebsd.org/data/headamd64PR219139-default/2017-05-22_13h01m42s/logs/errors/sope2-2.3.20.log</a>
and
<a href="http://package18.nyi.freebsd.org/data/headamd64PR219139-default/2017-05-22_13h01m42s/logs/errors/sope3-3.2.8.log">http://package18.nyi.freebsd.org/data/headamd64PR219139-default/2017-05-22_13h01m42s/logs/errors/sope3-3.2.8.log</a>

Minimized test case:

// clang -cc1 -triple x86_64 -S -w -fobjc-runtime=gnustep-1.6 sope-minimized.m
typedef a;
@interface b {
  a : 1;
}
@end
@implementation b
@end</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>