From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4222 invoked by alias); 17 Jul 2005 17:39:10 -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 3959 invoked by uid 48); 17 Jul 2005 17:39:07 -0000 Date: Sun, 17 Jul 2005 17:49:00 -0000 From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050717173906.22527.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/22527] New: fortran produces mismatch types in comparision with integer to logic assignment X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg02089.txt.bz2 List-Id: The following code: c { dg-do compile } c { dg-options "-O2 -std=legacy" } LOGICAL*1 l1 INTEGER*1 i1 l1 = i1 END produces mismatch types in comparision. See PR 22368 for the patch which catches this. logint-1.f: In function 'MAIN__': logint-1.f:5: error: types mismatch in comparsion int1D.0 int4D.2 i1D.464 != 0; -- Summary: fortran produces mismatch types in comparision with integer to logic assignment Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,sayle at gcc dot gnu dot org OtherBugsDependingO 22368 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22527