public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18870] New: [g77 regression] Equivalencing two common blocks is not caught
@ 2004-12-07 15:00 Thomas dot Koenig at online dot de
  2004-12-07 15:51 ` [Bug fortran/18870] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Thomas dot Koenig at online dot de @ 2004-12-07 15:00 UTC (permalink / raw)
  To: gcc-bugs

$ cat common-2.f
      program main
      common /foo/ a
      common /bar/ b
      equivalence (a,c)
      equivalence (b,c)
      c=3.
      print *,a
      print *,b
      end
$ gfortran common-2.f && ./a.out
   3.000000
   3.000000
$ gfortran -v
Reading specs from /home/zfkts/lib/gcc/ia64-unknown-linux-gnu/4.0.0/specs
Configured with: ../gcc-4.0-20041205/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95 --disable-shared
Thread model: posix
gcc version 4.0.0 20041205 (experimental)
$ g77 common-2.f
common-2.f: In program `main':
common-2.f:5:
         equivalence (b,c)
                      ^
Attempt to EQUIVALENCE common areas `foo' and `bar' at (^)

-- 
           Summary: [g77 regression] Equivalencing two common blocks is not
                    caught
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-09-09 22:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07 15:00 [Bug fortran/18870] New: [g77 regression] Equivalencing two common blocks is not caught Thomas dot Koenig at online dot de
2004-12-07 15:51 ` [Bug fortran/18870] " pinskia at gcc dot gnu dot org
2004-12-08 14:40 ` tobi at gcc dot gnu dot org
2005-01-06 14:42 ` tobi at gcc dot gnu dot org
2005-01-11 16:42 ` Thomas dot Koenig at online dot de
2005-04-08 16:17 ` pinskia at gcc dot gnu dot org
2005-09-09  0:25 ` cvs-commit at gcc dot gnu dot org
2005-09-09  9:06 ` cvs-commit at gcc dot gnu dot org
2005-09-09 22:17 ` pinskia 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).