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: unassignedclangb...@nondot.org
          Reporter: kevin.pe...@arm.com
                CC: anastasia.stul...@arm.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to