<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 - array assignment and automatic reallocation"
href="https://bugs.llvm.org/show_bug.cgi?id=48628">48628</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>array assignment and automatic reallocation
</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>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howisjw@hotmail.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>Created <span class=""><a href="attachment.cgi?id=24322" name="attach_24322" title="Example of array assignment bug">attachment 24322</a> <a href="attachment.cgi?id=24322&action=edit" title="Example of array assignment bug">[details]</a></span>
Example of array assignment bug
Hello,
In certain circumstances of an array assignment an automatic reallocation is
triggered while it should not. In my case it was constructing a complex array
based on a real array multiplied with a constant. The attachment contains a
simple example of the bug.
Furthermore, I have a question. Are there any plans to add a compiler flag to
disable the reallocation of the left-hand-side and runtime bounds checking?
There are very useful for debugging.
Best regards,
Jan-Willem</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>