<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - piglit.spec.glsl-1_30.compiler.switch-statement.switch-case-duplicated.vert regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97309">bug 97309</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;">Assignee</td>
           <td>eric@anholt.net
           </td>
           <td>lemody@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - piglit.spec.glsl-1_30.compiler.switch-statement.switch-case-duplicated.vert regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97309#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - piglit.spec.glsl-1_30.compiler.switch-statement.switch-case-duplicated.vert regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97309">bug 97309</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>The problem here is they way switch label hashtable is built, it uses case
label as the key and in the test this key is '0'. Now when new hash table
searches entries it has a check 'entry_is_present' that checks if key != NULL
and this fails in the particular case where case label is 0. One easy way is
just to store key + 1 to avoid using 0, I'll investigate if there would be
nicer way.</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>