<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Unparsing][OpenACC] Fatal internal error: CHECK fails in Outdent function while unparsing OpenACC parallel loop construct."
href="https://bugs.llvm.org/show_bug.cgi?id=47659">47659</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Unparsing][OpenACC] Fatal internal error: CHECK fails in Outdent function while unparsing OpenACC parallel loop construct.
</td>
</tr>
<tr>
<th>Product</th>
<td>flang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>HP
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gsocsameeran@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>David.Truby@arm.com, jperier@nvidia.com, kirankumartp@gmail.com, llvm-bugs@lists.llvm.org, sscalpone@nvidia.com
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>