title: Segmentation fault using OpenMp and SSE
body: <p>I'm just getting started experimenting adding OpenMP to some SSE code.</p>
  
  <p>My first test program SOMETIMES crashes in _mm_set_ps, but works when I set the if (0).</p>
  
  <p>It looks so simple I must be missing something obvious. 
  I'm compiling with gcc -fopenmp -g -march=core2 -pthreads</p>
  
  <pre><code>  #include &lt;stdio.h&gt;
    #include &lt;stdlib.h&gt;
    #include &lt;immintrin.h&gt;
  
    int main()
    {
    #pragma omp parallel if (1)
     {
    #pragma omp sections
         {
    #pragma omp section
             {
                __m128 x1 = _mm_set_ps ( 1.1f, 2.1f, 3.1f, 4.1f );
             }
    #pragma omp section
             {
                __m128 x2 = _mm_set_ps ( 1.2f, 2.2f, 3.2f, 4.2f );
             }
         } // end omp sections
     } //end omp parallel
  
    return 0;
    }
  </code></pre>