<html>
    <head>
      <base href="https://bugs.freedesktop.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 - glsl_types.cpp(524): error: a dynamically-initialized local static variable is not allowed inside of a statement expression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105740">105740</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>glsl_types.cpp(524): error: a dynamically-initialized local static variable is not allowed inside of a statement expression
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>bisected, regression
          </td>
        </tr>

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>robclark@freedesktop.org, t_arceri@yahoo.com.au
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Intel C++ Compiler build error

glsl_types.cpp(524): error: a dynamically-initialized local static variable is
not allowed inside of a statement expression
     return VECN(components, float, vec);
            ^

commit f407edf3407396379e16b0be74b8d3b85d2ad7f0
Author: Rob Clark <<a href="mailto:robdclark@gmail.com">robdclark@gmail.com</a>>
Date:   Mon Mar 12 14:54:56 2018 -0400

    glsl_types: refactor/prep for vec8/vec16

    Refactor things so there isn't so much typing involved to add new
    things.

    Also drops a pointless conditional (out of bounds rows or columns
    already returns error_type in all paths.. might as well drop it
    rather than make the check more convoluted in the next patch by
    adding the vec8/vec16 case).

    Signed-off-by: Rob Clark <<a href="mailto:robdclark@gmail.com">robdclark@gmail.com</a>>
    Reviewed-by: Timothy Arceri <<a href="mailto:tarceri@itsqueeze.com">tarceri@itsqueeze.com</a>></pre>
        </div>
      </p>


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

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