From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27090 invoked by alias); 6 Apr 2007 16:22:00 -0000 Received: (qmail 27052 invoked by uid 48); 6 Apr 2007 16:21:51 -0000 Date: Fri, 06 Apr 2007 16:22:00 -0000 Subject: [Bug fortran/31494] New: spurious error: PROCEDURE attribute conflicts with DIMENSION attribute X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "michael dot a dot richmond at nasa dot gov" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00450.txt.bz2 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