[llvm-bugs] [Bug 51349] New: omp.outlined routines marked noinline and alwaysinline cause assertion

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 4 16:32:52 PDT 2021


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: unassignedclangbugs at nondot.org
          Reporter: michael.p.rice at intel.com
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210804/a7f16fa0/attachment.html>


More information about the llvm-bugs mailing list