From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22625 invoked by alias); 26 Nov 2005 19:48:40 -0000 Received: (qmail 22611 invoked by uid 48); 26 Nov 2005 19:48:38 -0000 Date: Sat, 26 Nov 2005 19:48:00 -0000 Message-ID: <20051126194838.22610.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/25071] dummy argument larger than actual argument In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2005-11/txt/msg03663.txt.bz2 List-Id: ------- Comment #1 from fxcoudert at gcc dot gnu dot org 2005-11-26 19:48 ------- ## g95 ## In file foo.f90:2 CALL TST(I) 1 Error: Array argument at (1) is smaller than the dummy size ## Intel ## fortcom: Error: foo.f90, line 2: The storage extent of the dummy argument exceeds that of the actual argument. [I] CALL TST(I) ---------^ fortcom: Info: foo.f90, line 4: This variable has not been used. [I] SUBROUTINE TST(I) ----------------^ compilation aborted for foo.f90 (code 1) ## Portland ## ## Sun ## CALL TST(I) ^ "foo.f90", Line = 2, Column = 10: ERROR: The overall size of the dummy argument array is greater than the size of this actual argument. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |accepts-invalid Last reconfirmed|0000-00-00 00:00:00 |2005-11-26 19:48:38 date| | Summary|better diagnostic needed |dummy argument larger than | |actual argument http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25071