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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to