public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31494]  New: spurious error: PROCEDURE attribute conflicts with DIMENSION attribute
@ 2007-04-06 16:22 michael dot a dot richmond at nasa dot gov
  2007-04-08 18:49 ` [Bug fortran/31494] " pault at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2007-04-06 16:22 UTC (permalink / raw)
  To: gcc-bugs

When I compile the module listed below I get the following message:

k.f90:5.13:
    CALL sub2
            1
Error: PROCEDURE attribute conflicts with DIMENSION attribute in 'sub2' at (1)

It resembles Bug 24633. However, g95 and Lahey regard 24633 as an error but do
not regard this as an error.

MODULE ksbin2_aux_mod
REAL, DIMENSION(1) :: sub2
CONTAINS
  SUBROUTINE sub1
    CALL sub2
    CONTAINS 
      SUBROUTINE sub2
      END SUBROUTINE sub2
  END SUBROUTINE sub1
END MODULE ksbin2_aux_mod


-- 
           Summary: spurious error: PROCEDURE attribute conflicts with
                    DIMENSION attribute
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


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


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

end of thread, other threads:[~2007-06-25 18:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-06 16:22 [Bug fortran/31494] New: spurious error: PROCEDURE attribute conflicts with DIMENSION attribute michael dot a dot richmond at nasa dot gov
2007-04-08 18:49 ` [Bug fortran/31494] " pault at gcc dot gnu dot org
2007-05-22  8:07 ` pault at gcc dot gnu dot org
2007-06-24 19:10 ` patchapp at dberlin dot org
2007-06-25 14:56 ` pault at gcc dot gnu dot org
2007-06-25 18:28 ` pault at gcc dot gnu dot org
2007-06-25 18:29 ` 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).