From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E8E9385E003; Wed, 25 Mar 2020 15:52:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E8E9385E003 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585151523; bh=PeLokwUSJraeSNMTf7LCDHWu5sqPgT0Mo200DkkwvDA=; h=From:To:Subject:Date:From; b=be6MvC1piBAo4WQ3OuY3Y/rMV3umQ7qbg4eQQ10GGK5E535k+Nt0WfDNq7Wa4SJH5 65G/QsypayfeHYM5E3QA88LHYC7yeGfxMgopPxB5dx35DxNYYIt3thTBquCYAwSBUl t5YqLoyn3QvGLGNKFxSAwLO2aZfNm41ry+UJAviA= From: "jrfsousa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/94331] New: Bind(C) corrupts array descriptors Date: Wed, 25 Mar 2020 15:52:03 +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: jrfsousa 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: Wed, 25 Mar 2020 15:52:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94331 Bug ID: 94331 Summary: Bind(C) corrupts array descriptors Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48119&action=3Dedit Fortran code demonstrating problems. Hi all! Call to bind(c) procedure corrupts array descriptor overwriting array bound= s. in: GNU Fortran (GCC) 10.0.1 20200324 (experimental) Also in 9 but it's too buggy there to be relevant. Thank you very much. Best regards, Jos=C3=A9 Rui=