From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3272 invoked by alias); 16 Sep 2005 08:57:03 -0000 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 Received: (qmail 3232 invoked by uid 48); 16 Sep 2005 08:56:58 -0000 Date: Fri, 16 Sep 2005 08:57:00 -0000 From: "fxcoudert at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050916085657.23912.fxcoudert@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/23912] New: MOD function requires same kind arguments X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg01977.txt.bz2 List-Id: $ cat a.f integer*8 i integer*4 j i = mod(i,j) end $ g77 a.f $ ifort a.f $ pgf77 a.f $ gfortran a.f In file a.f:3 i = mod(i,j) 1 Error: 'p' argument of 'mod' intrinsic at (1) must be the same type and kind as 'a' We should be able to have j folded to the same kind as i. -- Summary: MOD function requires same kind arguments Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fxcoudert at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org OtherBugsDependingO 19292 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23912