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

            Bug ID: 51349
           Summary: omp.outlined routines marked noinline and alwaysinline
                    cause assertion
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: OpenMP
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Presumably after:

commit af000197c4214926bd7d0862d86f89aed5f20da6
[OpenMP] Always inline the OpenMP outlined function

void a() {
#pragma omp parallel if (0)
  ;
}

Attributes 'noinline and alwaysinline' are incompatible!
void (i32*, i32*)* @.omp_outlined.
in function .omp_outlined.
fatal error: error in backend: Broken function found, compilation aborted!


See: https://godbolt.org/z/W1nnr7e8G

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