<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 - Flang segmentation fault when compiling large data block with comment"
href="https://bugs.llvm.org/show_bug.cgi?id=49770">49770</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Flang segmentation fault when compiling large data block with comment
</td>
</tr>
<tr>
<th>Product</th>
<td>flang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</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>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ohnishi@m.mpat.go.jp
</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>Created <span class=""><a href="attachment.cgi?id=24707" name="attach_24707" title="Comment on the line 504 causese segmantation fault">attachment 24707</a> <a href="attachment.cgi?id=24707&action=edit" title="Comment on the line 504 causese segmantation fault">[details]</a></span>
Comment on the line 504 causese segmantation fault
A segmentation fault occurs in case there is a comment at the end of a data
block with a large number of elements (>496).
This happens in flang-7(supplied by Debian buster), flang-10 (Aocc2.2), and
flang-11 (Aocc2.3).
gfortran8.3 and ifort2021.1 can compile this attached file by
"gfortran -c test.f", and "ifort -c test.f" respectively.
My PC's output of "uname -a" is
Linux mypc 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11)
x86_64 GNU/Linux</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>