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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to