[llvm-bugs] [Bug 48631] New: print and write function of a array of a derive type with a stride.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 30 03:07:05 PST 2020


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

            Bug ID: 48631
           Summary: print and write function of a array of a derive type
                    with a stride.
           Product: flang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          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 24325
  --> https://bugs.llvm.org/attachment.cgi?id=24325&action=edit
Example of the print and write function bug

Hello,

I noticed that the print and write function of array of a derived type with a
stride writes more elements then they should be. The attached example
demonstrates the bug. It looks like a temporary array with the wrong length has
been created.

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/759c5df2/attachment.html>


More information about the llvm-bugs mailing list