<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:fjahanian@apple.com" title="Fariborz Jahanian <fjahanian@apple.com>"> <span class="fn">Fariborz Jahanian</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Crash of the compiler on an Objective-C file"
   href="http://llvm.org/bugs/show_bug.cgi?id=15526">bug 15526</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>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>fjahanian@apple.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Crash of the compiler on an Objective-C file"
   href="http://llvm.org/bugs/show_bug.cgi?id=15526#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Crash of the compiler on an Objective-C file"
   href="http://llvm.org/bugs/show_bug.cgi?id=15526">bug 15526</a>
              from <span class="vcard"><a class="email" href="mailto:fjahanian@apple.com" title="Fariborz Jahanian <fjahanian@apple.com>"> <span class="fn">Fariborz Jahanian</span></a>
</span></b>
        <pre>This was recently fixed in in trunk.

% $CLANG -c test.m -Wno-objc-root-class
test.m:8:10: error: address of bit-field requested
  return &_name;
         ^~~~~~
1 error generated.

<span class="quote">> Reduced test:

> @interface CPIntVarI {
>   int _name:31;
> }
> @end

> @implementation CPIntVarI
> - (int*)foo {
>   return &_name;
> }
> @end

> Taking the address of a bitfield is obviously invalid, but clang shouldn't
> crash on it.</span ></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>