public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15641] New: [gfortran] multiple equivalences do not work
@ 2004-05-25 19:53 bdavis9659 at comcast dot net
  2004-05-25 20:01 ` [Bug fortran/15641] " bdavis9659 at comcast dot net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-05-25 19:53 UTC (permalink / raw)
  To: gcc-bugs

$ cat g.f
      COMMON ICOE01, RCOE01
      EQUIVALENCE (ICOE01,ICOE02,ICOE03,ICOE04), (RCOE01,RCOE02,RCOE03)
      RCOE01 = 1
      RCOE02 = 2
      RCOE03 = 3
      ICOE01 = 1
      ICOE02 = 2
      ICOE03 = 3
      ICOE04 = 4
      PRINT*,RCOE01,RCOE02,RCOE03
      PRINT*,ICOE01,ICOE02,ICOE03,ICOE04
      END
$ gfortran g.f
$ ./a.out
   1.000000       2.000000       3.000000
           1           2           3           4
$ g77 g.f
$ ./a.out
  3.  3.  3.
 4 4 4 4
$ gfortran --version
GNU Fortran 95 (GCC 3.5.0 20040524 (experimental))



from FM023.FOR of NIST F77 validation suite.

-- 
           Summary: [gfortran] multiple equivalences do not work
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis9659 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/15641] [gfortran] multiple equivalences do not work
  2004-05-25 19:53 [Bug fortran/15641] New: [gfortran] multiple equivalences do not work bdavis9659 at comcast dot net
@ 2004-05-25 20:01 ` bdavis9659 at comcast dot net
  2004-05-25 20:13 ` bdavis9659 at comcast dot net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-05-25 20:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis9659 at comcast dot net  2004-05-25 00:42 -------
Same problem in FM204.FOR.

-- 


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


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

* [Bug fortran/15641] [gfortran] multiple equivalences do not work
  2004-05-25 19:53 [Bug fortran/15641] New: [gfortran] multiple equivalences do not work bdavis9659 at comcast dot net
  2004-05-25 20:01 ` [Bug fortran/15641] " bdavis9659 at comcast dot net
@ 2004-05-25 20:13 ` bdavis9659 at comcast dot net
  2004-05-25 22:09 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-05-25 20:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis9659 at comcast dot net  2004-05-25 00:42 -------
umm...make that FM024.FOR...

-- 


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


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

* [Bug fortran/15641] [gfortran] multiple equivalences do not work
  2004-05-25 19:53 [Bug fortran/15641] New: [gfortran] multiple equivalences do not work bdavis9659 at comcast dot net
  2004-05-25 20:01 ` [Bug fortran/15641] " bdavis9659 at comcast dot net
  2004-05-25 20:13 ` bdavis9659 at comcast dot net
@ 2004-05-25 22:09 ` pinskia at gcc dot gnu dot org
  2004-05-28 23:33 ` tobi at gcc dot gnu dot org
  2004-05-30 13:56 ` pbrook at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-25 22:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-25 00:46 -------
Confirmed, they are not being adding to the one union instead they are seperate.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-25 00:46:17
               date|                            |


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


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

* [Bug fortran/15641] [gfortran] multiple equivalences do not work
  2004-05-25 19:53 [Bug fortran/15641] New: [gfortran] multiple equivalences do not work bdavis9659 at comcast dot net
                   ` (2 preceding siblings ...)
  2004-05-25 22:09 ` pinskia at gcc dot gnu dot org
@ 2004-05-28 23:33 ` tobi at gcc dot gnu dot org
  2004-05-30 13:56 ` pbrook at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-05-28 23:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-05-28 14:50 -------
This seems to be fairly recent regression, most likely related to Paul &
Victor's patch:
[tobi@marktplatz src]$ gfortran --version
GNU Fortran 95 (GCC 3.5.0 20040516 (experimental))
Copyright (C) 2003 Free Software Foundation, Inc.
 
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
[tobi@marktplatz src]$ ./a.out
    3.000000        3.000000        3.000000
           4           4           4           4
[tobi@marktplatz src]$

-- 


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


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

* [Bug fortran/15641] [gfortran] multiple equivalences do not work
  2004-05-25 19:53 [Bug fortran/15641] New: [gfortran] multiple equivalences do not work bdavis9659 at comcast dot net
                   ` (3 preceding siblings ...)
  2004-05-28 23:33 ` tobi at gcc dot gnu dot org
@ 2004-05-30 13:56 ` pbrook at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-05-30 13:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2004-05-29 01:25 -------
Fixed by this: 
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01902.html 

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


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


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

end of thread, other threads:[~2004-05-29  1:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-25 19:53 [Bug fortran/15641] New: [gfortran] multiple equivalences do not work bdavis9659 at comcast dot net
2004-05-25 20:01 ` [Bug fortran/15641] " bdavis9659 at comcast dot net
2004-05-25 20:13 ` bdavis9659 at comcast dot net
2004-05-25 22:09 ` pinskia at gcc dot gnu dot org
2004-05-28 23:33 ` tobi at gcc dot gnu dot org
2004-05-30 13:56 ` pbrook at gcc dot gnu dot org

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).