<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 - Bug relating to -fopenmp"
   href="https://bugs.llvm.org/show_bug.cgi?id=45916">45916</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Bug relating to -fopenmp
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>linhsu0723@qq.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23485" name="attach_23485" title="preprocessed source(s) and associated run script(s)">attachment 23485</a> <a href="attachment.cgi?id=23485&action=edit" title="preprocessed source(s) and associated run script(s)">[details]</a></span>
preprocessed source(s) and associated run script(s)

For the source file `a_star.cpp`, once `-fopenmp` added, the compilation
failed.

Clang info:
```
clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
```

OpenMP lib info:
```
Package: libomp-dev
Version: 5.0.1-1
Priority: extra
Section: universe/libdevel
Source: openmprtl
Origin: Ubuntu
Maintainer: Ubuntu Developers <<a href="mailto:ubuntu-devel-discuss@lists.ubuntu.com">ubuntu-devel-discuss@lists.ubuntu.com</a>>
Original-Maintainer: LLVM Packaging Team
<<a href="mailto:pkg-llvm-team@lists.alioth.debian.org">pkg-llvm-team@lists.alioth.debian.org</a>>
Bugs: <a href="https://bugs.launchpad.net/ubuntu/+filebug">https://bugs.launchpad.net/ubuntu/+filebug</a>
Installed-Size: 29.7 kB
Depends: libomp5 (= 5.0.1-1)
Suggests: libomp-doc
Breaks: libiomp-dev (<< 3.7-1)
Replaces: libiomp-dev (<< 3.7-1)
Homepage: <a href="http://openmp.llvm.org/">http://openmp.llvm.org/</a>
Supported: 3y
Download-Size: 5,088 B
APT-Manual-Installed: yes
APT-Sources: <a href="http://mirrors.aliyun.com/ubuntu">http://mirrors.aliyun.com/ubuntu</a> bionic/universe amd64 Packages
Description: LLVM OpenMP runtime - dev package
 The runtime is the part of the OpenMP implementation that your code is
 linked against, and that manages the multiple threads in an OpenMP program
 while it is executing.
```</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>