public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29786]  New: [4.1/4.2/4.3 Regression] rejects equivalence
@ 2006-11-09 19:50 aldot at gcc dot gnu dot org
  2006-11-09 20:14 ` [Bug fortran/29786] " pault at gcc dot gnu dot org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-11-09 19:50 UTC (permalink / raw)
  To: gcc-bugs

$ cat equiv.hm.f 
      INTEGER         i
      PARAMETER           (i = 55)
      INTEGER         o
      INTEGER         NUNITS(i)
      equivalence (o,nunits(16))
      data o/16/
      data nunits(18)/18/
      end
$ gfortran-4.3-HEAD -c -o /dev/null equiv.hm.f
equiv.hm.f:5:

      equivalence (o,nunits(16))                                        
                          1
Error: Initialized objects 'o' and 'nunits'  cannot both be in the EQUIVALENCE
statement at (1)

Works fine with g77-3.4.6


-- 
           Summary: [4.1/4.2/4.3 Regression] rejects equivalence
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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


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

end of thread, other threads:[~2007-06-11 22:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09 19:50 [Bug fortran/29786] New: [4.1/4.2/4.3 Regression] rejects equivalence aldot at gcc dot gnu dot org
2006-11-09 20:14 ` [Bug fortran/29786] " pault at gcc dot gnu dot org
2006-11-10  8:26 ` pault at gcc dot gnu dot org
2007-01-12  6:00 ` pault at gcc dot gnu dot org
2007-01-12  8:12 ` pault at gcc dot gnu dot org
2007-01-14 13:32 ` pault at gcc dot gnu dot org
2007-01-14 13:42 ` pault at gcc dot gnu dot org
2007-02-03 16:20 ` pault at gcc dot gnu dot org
2007-02-03 17:30 ` jsm28 at gcc dot gnu dot org
2007-02-05  5:28 ` mmitchel at gcc dot gnu dot org
2007-02-14 10:04 ` mmitchel at gcc dot gnu dot org
2007-04-23 19:48 ` brooks at gcc dot gnu dot org
2007-04-23 19:49 ` [Bug fortran/29786] [4.1/4.2/4.3 Regression] Initialization of overlapping variables: Not implemented brooks at gcc dot gnu dot org
2007-04-23 19:52 ` brooks at gcc dot gnu dot org
2007-04-23 20:50 ` pinskia at gcc dot gnu dot org
2007-05-24  7:11 ` pault at gcc dot gnu dot org
2007-05-24 12:58 ` patchapp at dberlin dot org
2007-06-11 22:39 ` pault at gcc dot gnu dot org
2007-06-11 22:41 ` pault 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).