From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 46D6B3858D35; Mon, 4 May 2020 11:04:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46D6B3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588590258; bh=r0E5fzKfs6gSRL6Ofw0GdcwFQeRrnEVjVFvk/WlLdKU=; h=From:To:Subject:Date:From; b=HTarXkmWVMukvccE4IKxlJLAoX55ulXfgexDlH2T9mh9Y3vSHJAhUxNJi9HGvQDUv QRFY0rAQRP+KOFgAXY+vSYvYmy9P9eIwGr0Mzwy5APcEuSxLiwrBHmCZztdi/crNl9 1o5mqgAyGOzdBCRU2+M6OUYwYVDT7YzaZ4NbFNuw= From: "artu72 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/94943] New: A module does not export allocatable attribute of herein arrays. Date: Mon, 04 May 2020 11:04:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: artu72 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 11:04:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94943 Bug ID: 94943 Summary: A module does not export allocatable attribute of herein arrays. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: artu72 at gmail dot com Target Milestone: --- Created attachment 48438 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48438&action=3Dedit contains the compiler version, command line, errors, and the module file and the routine that uses it with .s files. A module contains several arrays with ALLOCATABLE attribute. When compiling, the routine that uses the module complains that array is not an allocatable= one neither a pointer.=20 Expected behavior (as in 9.3.1 version) : no error reported and compilation completes. Current behavior: error reported, as in the attachment. I attach an archive with following files: commandline : the command mpif90 arising the error deallocate_vars.f90 : routine that uses the sel module deallocate_vars.s (no .i file generated, I include this instead) error : error issued by the compiler sel_mod.f90 : module containing the arrays sel_mod.s=20 version : version of gfortran mpif90 wraps as gfortran -I/usr/include/openmpi-x86_64 -pthread -I/usr/lib64/openmpi/lib -Wl,-rpath -Wl,/usr/lib64/openmpi/lib -Wl,--enable-new-dtags -L/usr/lib64/openmpi/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi=