[llvm-bugs] [Bug 48628] New: array assignment and automatic reallocation
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 30 02:36:43 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48628
Bug ID: 48628
Summary: array assignment and automatic reallocation
Product: flang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedbugs at nondot.org
Reporter: howisjw at hotmail.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
Created attachment 24322
--> https://bugs.llvm.org/attachment.cgi?id=24322&action=edit
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
--
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/20201230/454de7f5/attachment.html>
More information about the llvm-bugs
mailing list