[llvm-bugs] [Bug 42650] New: -finclude-default-header broken in r366307

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 17 03:29:43 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42650

            Bug ID: 42650
           Summary: -finclude-default-header broken in r366307
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kevin.petit at arm.com
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org

Trying to compile any .cl file with the following command:

./build/bin/clang -cc1 -emit-llvm -finclude-default-header file.cl

results in the following error with recent revisions:

----------------------------------------
<built-in>:1:10: fatal error: 'opencl-c.h' file not found
#include "opencl-c.h"
         ^~~~~~~~~~~~
1 error generated.

----------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190717/efdbd3d8/attachment.html>


More information about the llvm-bugs mailing list