[llvm-bugs] [Bug 48632] New: reshape function: type mismatched on valid Fortran statement

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


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

            Bug ID: 48632
           Summary: reshape function: type mismatched on valid Fortran
                    statement
           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 24326
  --> https://bugs.llvm.org/attachment.cgi?id=24326&action=edit
Reshape type bug.

Hello,

The attached example results in a RESHAPE: result type != SOURCE type error
using derived types. As far as I aware of the reshape statement is valid. At
least it works in gfortran and ifort. Could it be that the check is a bit too
strict?

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/9639e837/attachment-0001.html>


More information about the llvm-bugs mailing list