libgfortran/io/write.c: In function 'nml_write_obj': libgfortran/io/write.c:1261:17: warning: comparison between 'bt' and 'enum <anonymous>' libgfortran/io/write.c:1303:5: warning: case value '6' not in enumerated type 'bt' libgfortran/io/write.c:1339:15: warning: comparison between 'bt' and 'enum <anonymous>' libgfortran/io/write.c:1372:6: warning: case value '6' not in enumerated type 'bt'
libgfortran/io/list_read.c: In Function "nml_read_obj": libgfortran/io/list_read.c:2345:5: Warning: case value "6" not in enumerated type "bt" libgfortran/io/list_read.c:2393:4: Warning: case value "6" not in enumerated type "bt" libgfortran/io/list_read.c:2470:31: Warning: comparison between "bt" and "enum <anonym>" libgfortran/io/list_read.c: In Function "nml_get_obj_data": libgfortran/io/list_read.c:2718:20: Warning: comparison between "bt" and "enum <anonym>" libgfortran/io/list_read.c:2740:28: Warning: comparison between "bt" and "enum <anonym>" libgfortran/io/list_read.c:2774:16: Warning: comparison between "bt" and "enum <anonym>" intrinsics/iso_c_binding.c: In Function "__iso_c_binding_c_f_pointer_u0": libgfortran/intrinsics/iso_c_binding.c:112:20: Warning: "ub" may be used uninitialized in this function Maybe one should use here: switch(size) { #ifdef HAVE_GFC_INTEGER_1 case 1: ... default: __builtin_unreachable(); /* Or through an error here. */ } -- Summary: compile warnings in libgfortran Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40545