From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18965 invoked by alias); 14 Jun 2009 09:06:34 -0000 Received: (qmail 18918 invoked by uid 48); 14 Jun 2009 09:06:20 -0000 Date: Sun, 14 Jun 2009 09:06:00 -0000 Message-ID: <20090614090620.18917.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/22423] Warnings when building libgfortran 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00868.txt.bz2 ------- Comment #21 from fxcoudert at gcc dot gnu dot org 2009-06-14 09:06 ------- There's still a bunch of warnings: ../../../trunk/libgfortran/io/list_read.c: In function ‘nml_read_obj’: ../../../trunk/libgfortran/io/list_read.c:2345:5: warning: case value ‘6’ not in enumerated type ‘bt’ ../../../trunk/libgfortran/io/list_read.c:2392:4: warning: case value ‘6’ not in enumerated type ‘bt’ ../../../trunk/libgfortran/io/list_read.c:2469:31: warning: comparison between ‘bt’ and ‘enum ’ ../../../trunk/libgfortran/io/list_read.c: In function ‘nml_get_obj_data’: ../../../trunk/libgfortran/io/list_read.c:2717:20: warning: comparison between ‘bt’ and ‘enum ’ ../../../trunk/libgfortran/io/list_read.c:2739:28: warning: comparison between ‘bt’ and ‘enum ’ ../../../trunk/libgfortran/io/list_read.c:2773:16: warning: comparison between ‘bt’ and ‘enum ’ ../../../trunk/libgfortran/io/write.c: In function ‘nml_write_obj’: ../../../trunk/libgfortran/io/write.c:1261:17: warning: comparison between ‘bt’ and ‘enum ’ ../../../trunk/libgfortran/io/write.c:1303:5: warning: case value ‘6’ not in enumerated type ‘bt’ ../../../trunk/libgfortran/io/write.c:1339:15: warning: comparison between ‘bt’ and ‘enum ’ ../../../trunk/libgfortran/io/write.c:1372:6: warning: case value ‘6’ not in enumerated type ‘bt’ There is something quite wrong done here with type "bt" and putting values from a different enum into it. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jb at gcc dot gnu dot org, | |fxcoudert at gcc dot gnu dot | |org Last reconfirmed|2009-05-03 16:28:50 |2009-06-14 09:06:19 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22423