<html>
    <head>
      <base href="https://bugs.llvm.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 - OpenMP: Reduction initializer missing construnctor call. Test segfaults failed at runtime."
   href="https://bugs.llvm.org/show_bug.cgi?id=46593">46593</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>OpenMP: Reduction initializer missing construnctor call. Test segfaults failed at runtime.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>OpenMP
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jennifer.yu@intel.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23686" name="attach_23686" title="small test case">attachment 23686</a> <a href="attachment.cgi?id=23686&action=edit" title="small test case">[details]</a></span>
small test case

I attached test case which passes with g++ but failed at runtime.

<span class="quote">>clang++ -fopenmp x.cpp
>./a.out</span >
Segmentation fault (core dumped)

<span class="quote">>g++ -fopenmp x.cpp
>./a.out</span >
PASSED</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>