[llvm-bugs] [Bug 47659] New: [Unparsing][OpenACC] Fatal internal error: CHECK fails in Outdent function while unparsing OpenACC parallel loop construct.

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 27 10:42:59 PDT 2020


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

            Bug ID: 47659
           Summary: [Unparsing][OpenACC] Fatal internal error: CHECK fails
                    in Outdent function while unparsing OpenACC parallel
                    loop construct.
           Product: flang
           Version: trunk
          Hardware: HP
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedbugs at nondot.org
          Reporter: gsocsameeran at gmail.com
                CC: David.Truby at arm.com, jperier at nvidia.com,
                    kirankumartp at gmail.com, llvm-bugs at lists.llvm.org,
                    sscalpone at nvidia.com

For a test mentioned below and compiled as :
$ f18 -fopenacc file.f90

I get following error:

**fatal internal error: CHECK(indent_ >= indentationAmount_) failed at
/home/amd/f18_git/test/llvm-project/flang/lib/Parser/unparse.cpp(2598)**

========file.f90=======
program test
  integer :: i, j
  label1: do i = 1, 10
    !$acc parallel loop
    do j = 1, 10
      if (j == 2) then
        exit label1
      end if
    end do
  end do label1
end program test

-- 
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/20200927/7013da33/attachment.html>


More information about the llvm-bugs mailing list