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

            Bug ID: 41727
           Summary: [C++] ICE on use of destructors
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangb...@nondot.org
          Reporter: anastasia.stul...@arm.com
                CC: anastasia.stul...@arm.com, llvm-bugs@lists.llvm.org

Frontend fails with ICE if the following code is compiled

bin/clang -c test.cl -cl-std=c++ -target spir -emit-llvm

  1 struct S {
  2 ~S(){}; // if commented no ICE
  3 };
  4 S s;

-- 
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