From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11297 invoked by alias); 8 May 2006 09:49:01 -0000 Received: (qmail 11242 invoked by uid 48); 8 May 2006 09:48:53 -0000 Date: Mon, 08 May 2006 09:49:00 -0000 Message-ID: <20060508094853.11241.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/25073] [missing testcase] CASEs overlap 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: 2006-05/txt/msg00746.txt.bz2 List-Id: ------- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-05-08 09:48 ------- Humpf, I created a testcase for inclusion in the testsuite, but it reveals that overlap of logical cases is not detected when they're separated from each other: select case (l) case (.true.) case (.false.) case (.true.) end select In this case, the overlap is not detected. The "same" code works fine with integer or character variables, and I'm not sure why logicals are a special case. Thomas, can you give it a try since you designed the original patch? -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org AssignedTo|fxcoudert at gcc dot gnu dot|unassigned at gcc dot gnu |org |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25073