<html>
    <head>
      <base href="http://bugzilla.gdcproject.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - _d_throw is not treated as `noreturn`."
   href="http://bugzilla.gdcproject.org/show_bug.cgi?id=207#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - _d_throw is not treated as `noreturn`."
   href="http://bugzilla.gdcproject.org/show_bug.cgi?id=207">bug 207</a>
              from <span class="vcard"><a class="email" href="mailto:ibuclaw@gdcproject.org" title="Iain Buclaw <ibuclaw@gdcproject.org>"> <span class="fn">Iain Buclaw</span></a>
</span></b>
        <pre>OK, looks like it wasn't being set because of a (silently changed?) behaviour I
never anticipated when assigning to bitfields in C/C++.

unsigned volatile_flag : 1;

volatile_flag = (flags & 2);  // Assigning bits are '10', however the
                              // '1' is dropped because it doesn't fit.

I'm sure that this used to work in an earlier version, however I'm even more
surprised that this didn't trigger an overflow warning (it should have)!</pre>
        </div>
      </p>


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

      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>