[llvm-bugs] [Bug 48647] New: array construction and already declared in scoping unit error

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 3 06:19:22 PST 2021


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

            Bug ID: 48647
           Summary: array construction and already declared in scoping
                    unit error
           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 24336
  --> https://bugs.llvm.org/attachment.cgi?id=24336&action=edit
bug in scope error

Hello,

I am testing the new Fortran front-end, which has been built from source using
LLVM 11.0.0 release. While testing I encountered a 'already declared in scoping
unit' error in an array construction usign the following command:

array = [ (i,i=1,2), (10*i,i=1,2) ]

As far as I know this is a valid array construction. At least gfortran does not
complain about it. The attached file is an example of the bug.

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/20210103/27f13038/attachment.html>


More information about the llvm-bugs mailing list