public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58852] New: ASSOCIATE returns nothing after changing the value
@ 2013-10-23 10:53 sarantis.pantazis at gmail dot com
  2013-10-23 15:27 ` [Bug fortran/58852] " burnus at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sarantis.pantazis at gmail dot com @ 2013-10-23 10:53 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/58852] ASSOCIATE returns nothing after changing the value
  2013-10-23 10:53 [Bug fortran/58852] New: ASSOCIATE returns nothing after changing the value sarantis.pantazis at gmail dot com
@ 2013-10-23 15:27 ` burnus at gcc dot gnu.org
  2013-10-23 17:31 ` burnus at gcc dot gnu.org
  2013-10-24 10:35 ` sarantis.pantazis at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-10-23 15:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58852

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I think it has been fixed in the meanwhile as I get with GCC 4.8.2 and GCC 4.9:
   1.0000000000000000        2.0000000000000000        3.0000000000000000
   1.0000000000000000        2.0000000000000000        3.0000000000000000
   3.0000000000000000        6.0000000000000000        9.0000000000000000
   3.0000000000000000        6.0000000000000000        9.0000000000000000


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/58852] ASSOCIATE returns nothing after changing the value
  2013-10-23 10:53 [Bug fortran/58852] New: ASSOCIATE returns nothing after changing the value sarantis.pantazis at gmail dot com
  2013-10-23 15:27 ` [Bug fortran/58852] " burnus at gcc dot gnu.org
@ 2013-10-23 17:31 ` burnus at gcc dot gnu.org
  2013-10-24 10:35 ` sarantis.pantazis at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-10-23 17:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58852

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I can confirm that it fails with GCC 4.7.3.

I think it is fixed by the patch for PR 55134 (i.e. for GCC 4.8).

Can you try a newer version of GCC? Cf.
http://gcc.gnu.org/wiki/GFortranBinaries


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/58852] ASSOCIATE returns nothing after changing the value
  2013-10-23 10:53 [Bug fortran/58852] New: ASSOCIATE returns nothing after changing the value sarantis.pantazis at gmail dot com
  2013-10-23 15:27 ` [Bug fortran/58852] " burnus at gcc dot gnu.org
  2013-10-23 17:31 ` burnus at gcc dot gnu.org
@ 2013-10-24 10:35 ` sarantis.pantazis at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: sarantis.pantazis at gmail dot com @ 2013-10-24 10:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58852

Sarantis Pantazis <sarantis.pantazis at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Sarantis Pantazis <sarantis.pantazis at gmail dot com> ---
I confirm that it has been fixed with 4.8.2.
Thank you for the assistance!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-24 10:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-23 10:53 [Bug fortran/58852] New: ASSOCIATE returns nothing after changing the value sarantis.pantazis at gmail dot com
2013-10-23 15:27 ` [Bug fortran/58852] " burnus at gcc dot gnu.org
2013-10-23 17:31 ` burnus at gcc dot gnu.org
2013-10-24 10:35 ` sarantis.pantazis at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).