From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6995 invoked by alias); 23 Oct 2013 10:53:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 6967 invoked by uid 48); 23 Oct 2013 10:53:41 -0000 From: "sarantis.pantazis at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58852] New: ASSOCIATE returns nothing after changing the value Date: Wed, 23 Oct 2013 10:53:00 -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: 4.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sarantis.pantazis at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg01674.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58852 Bug ID: 58852 Summary: ASSOCIATE returns nothing after changing the value Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: sarantis.pantazis at gmail dot com Created attachment 31081 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31081&action=edit Minimal working example for associate bug (?) Hello. I was not able to find anything online related to this problem, so here goes. I would like to use the ASSOCIATE feature of fortran to shorten the names of some variables. However, when I use the associated variable as a subroutine argument, something goes wrong and the variable values are not passed as arguments correctly. I have attached a minimal working example to show what I mean. Any feedback is welcome.