Snippets for gcc 16.1.1 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/mingw-gcc/16.1.1/3.fc45/data/logs/i686/build.log.
-
../../fixincludes/fixincl.c:747:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 747 | char *pz_dir_end = strrchr (pz_fixed_file, '/'); | ^~~~~~~ -
../../lto-plugin/lto-plugin.c:1100:5: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1100 | s = strrchr (name, '.'); | ^ -
../../lto-plugin/lto-plugin.c:1152:5: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1152 | s = strrchr (name, '.'); | ^ -
../../../fixincludes/fixincl.c:747:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 747 | char *pz_dir_end = strrchr (pz_fixed_file, '/'); | ^~~~~~~ -
gengtype-lex.cc:356:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 356 | | ^ -
../../gcc/expmed.cc:1864:45: warning: ‘*(unsigned int*)((char*)&imode + offsetof(scalar_int_mode, scalar_int_mode::m_mode))’ may be used uninitialized [-Wmaybe-uninitialized] 1864 | rtx sub = extract_bit_field_as_subreg (mode1, op0, imode, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 1865 | bitsize, bitnum); | ~~~~~~~~~~~~~~~~ -
../../gcc/analyzer/engine.cc:389:59: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 389 | logger->log ("using location 0%lx from gassign", | ~~^ | | | long unsigned int | %llx 390 | assign->location); | ~~~~~~~~~~~~~~~~ | | | long long unsigned int -
../../gcc/analyzer/engine.cc:447:60: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 447 | logger->log ("using location 0x%lx from stmt", | ~~^ | | | long unsigned int | %llx 448 | stmt->location); | ~~~~~~~~~~~~~~ | | | long long unsigned int -
../../gcc/analyzer/engine.cc:2282:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2282 | fprintf (stderr, "SN %lu: index: %i lowlink: %i on_stack: %i\n", | ~~^ | | | long unsigned int | %u 2283 | i, v.m_id, v.m_lowlink, v.m_on_stack); | ~ | | | size_t {aka unsigned int} -
../../gcc/analyzer/supergraph-fixup-locations.cc:78:52: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘location_t’ {aka ‘long long unsigned int’} [-Wformat=] 78 | m_logger->log ("copying location 0x%lx from SN %i to SN %i", | ~~^ | | | long unsigned int | %llx 79 | node->m_loc, | ~~~~~~~~~~~ | | | location_t {aka long long unsigned int} -
../../gcc/analyzer/supergraph-sorting.cc:57:49: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 57 | logger->log ("old SN %i is now SN %li", snode->m_id, new_id); | ~~^ ~~~~~~ | | | | long int size_t {aka unsigned int} | %i -
../../gcc/analyzer/supergraph.cc:252:50: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘location_t’ {aka ‘long long unsigned int’} [-Wformat=] 252 | logger->log ("using location 0x%lx from outedge", | ~~^ | | | long unsigned int | %llx 253 | outedge->goto_locus); | ~~~~~~~~~~~~~~~~~~~ | | | location_t {aka long long unsigned int} -
../../gcc/analyzer/supergraph.cc:823:45: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 823 | pp_printf (pp, "<TR><TD>location: 0x%lx</TD></TR>", m_loc); | ~~^ ~~~~~ | | | | | long long unsigned int | long unsigned int | %llx -
../../gcc/analyzer/supergraph.cc:840:49: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 840 | pp_printf (pp, "<TR><TD>location: 0x%lx</TD></TR>", m_loc); | ~~^ ~~~~~ | | | | | long long unsigned int | long unsigned int | %llx -
../../gcc/analyzer/supergraph.cc:890:43: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 890 | pp_printf (pp, "<TR><TD>m_stmt_loc: 0x%lx</TD></TR>", m_stmt_loc); | ~~^ ~~~~~~~~~~ | | | | | long long unsigned int | long unsigned int | %llx -
../../gcc/analyzer/supergraph.cc:1076:47: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘location_t’ {aka ‘long long unsigned int’} [-Wformat=] 1076 | pp_printf (pp, " (has goto_locus: 0x%lx)", cfg_edge->goto_locus); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | | location_t {aka long long unsigned int} | long unsigned int | %llx -
../../gcc/diagnostics/digraphs-to-dot-from-cfg.cc:173:36: warning: spurious leading punctuation sequence ‘<’ in format [-Wformat-diag] 173 | pp_printf (&pp, "<bb %li>:", bb_index); | ^ -
../../gcc/diagnostics/digraphs-to-dot-from-cfg.cc:173:43: warning: spurious trailing punctuation sequence ‘>:’ in format [-Wformat-diag] 173 | pp_printf (&pp, "<bb %li>:", bb_index); | ^~ -
../../gcc/diagnostics/digraphs-to-dot-from-cfg.cc:246:26: warning: spurious leading punctuation sequence ‘[’ in format [-Wformat-diag] 246 | pp_printf (&pp, "[%li%%]", probability_pc); | ^ -
../../gcc/diagnostics/sarif-sink.cc:4280:47: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 4280 | pp_printf (&pp_header, "Content-Length: %li\n\n", content_length); | ~~^ ~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long int | %i -
../../gcc/text-art/style.cc:149:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] 149 | pp_printf (pp, ";5;%i", (int)u.m_8bit); | ^ -
../../gcc/text-art/style.cc:159:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] 159 | pp_printf (pp, ";2;%i;%i;%i", | ^ -
../../../libgcc/soft-fp/fixsfbitint.c:51:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 51 | else if (A_e >= (_FP_EXPMAX_S < _FP_EXPBIAS_S + arprec | ^~ -
../../../libgcc/soft-fp/fixsfbitint.c:57:22: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 57 | && A_e == _FP_EXPBIAS_S + arprec - 1 | ^~ -
../../../libgcc/soft-fp/fixsfbitint.c:61:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 61 | else if (A_e >= _FP_EXPBIAS_S + SI_BITS - rsigned) | ^~ -
../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 1477 | >= ((_FP_EXPMAX_##fs \ | ^~ -
../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 1492 | && (X##_e >= (_FP_EXPMAX_##fs < _FP_EXPBIAS_##fs + (rsize) \ | ^~ -
../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 1515 | && X##_e == _FP_EXPBIAS_##fs + (rsize) - 1) \ | ^~ -
../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 1560 | if ((rsigned) == 2 && X##_e >= _FP_EXPBIAS_##fs + (rsize) - 1) \ | ^~ -
../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 1563 | if (X##_e > _FP_EXPBIAS_##fs + (rsize) - 1 \ | ^ -
../../../libgcc/soft-fp/fixtfbitint.c:61:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 61 | else if (A_e >= (_FP_EXPMAX_Q < _FP_EXPBIAS_Q + arprec | ^~ -
../../../libgcc/soft-fp/fixtfbitint.c:67:22: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 67 | && A_e == _FP_EXPBIAS_Q + arprec - 1 | ^~ -
../../../libgcc/soft-fp/fixtfbitint.c:71:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 71 | else if (A_e >= _FP_EXPBIAS_Q + TI_BITS - rsigned) | ^~ -
../../../libgcc/soft-fp/fixxfbitint.c:62:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 62 | else if (A_e >= (_FP_EXPMAX_E < _FP_EXPBIAS_E + arprec | ^~ -
../../../libgcc/soft-fp/fixxfbitint.c:68:22: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 68 | && A_e == _FP_EXPBIAS_E + arprec - 1 | ^~ -
../../../libgcc/soft-fp/fixxfbitint.c:72:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 72 | else if (A_e >= _FP_EXPBIAS_E + TI_BITS - rsigned) | ^~ -
../../../libgcc/soft-fp/fixdfbitint.c:51:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 51 | else if (A_e >= (_FP_EXPMAX_D < _FP_EXPBIAS_D + arprec | ^~ -
../../../libgcc/soft-fp/fixdfbitint.c:57:22: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 57 | && A_e == _FP_EXPBIAS_D + arprec - 1 | ^~ -
../../../libgcc/soft-fp/fixdfbitint.c:61:20: warning: comparison of integer expressions of different signedness: 'int' and 'USItype' {aka 'unsigned int'} [-Wsign-compare] 61 | else if (A_e >= _FP_EXPBIAS_D + DI_BITS - rsigned) | ^~ -
../../../libgcc/config/i386/cygming-crtbegin.c:130:27: warning: cast between incompatible function types from 'FARPROC' {aka 'int (__attribute__((stdcall)) *)(void)'} to 'void (*)(const void *, struct object *)' [-Wcast-function-type] 130 | register_frame_fn = (void (*) (const void *, struct object *)) | ^ -
../../../libgcc/config/i386/cygming-crtbegin.c:132:29: warning: cast between incompatible function types from 'FARPROC' {aka 'int (__attribute__((stdcall)) *)(void)'} to 'void * (*)(const void *)' [-Wcast-function-type] 132 | deregister_frame_fn = (void* (*) (const void *)) | ^ -
../libgcc/gthr-default.h:430:41: warning: unused parameter 'priority' [-Wunused-parameter] 430 | __gthread_objc_thread_set_priority (int priority) | ~~~~^~~~~~~~ -
../../../libssp/gets-chk.c:66:12: warning: call to 'gets' declared with attribute warning: Using gets() is always unsafe - use fgets() instead [-Wattribute-warning] 66 | return gets (s); | ^~~~~~~~ -
../../../libssp/gets-chk.c:73:12: warning: call to 'gets' declared with attribute warning: Using gets() is always unsafe - use fgets() instead [-Wattribute-warning] 73 | return gets (s); | ^~~~~~~~ -
../../../libssp/ssp.c:202:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes] 202 | } | ^ -
../../../libssp/ssp-local.c:49:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes] 49 | } | ^ -
../../../libgfortran/intrinsics/stat.c:94:21: warning: comparison is always true due to limited range of data type [-Wtype-limits] 94 | if (sb.st_ino <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:98:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 98 | if (sb.st_mode <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:102:23: warning: comparison is always true due to limited range of data type [-Wtype-limits] 102 | if (sb.st_nlink <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:106:21: warning: comparison is always true due to limited range of data type [-Wtype-limits] 106 | if (sb.st_uid <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:110:21: warning: comparison is always true due to limited range of data type [-Wtype-limits] 110 | if (sb.st_gid <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:405:21: warning: comparison is always true due to limited range of data type [-Wtype-limits] 405 | if (sb.st_ino <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:409:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 409 | if (sb.st_mode <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:413:23: warning: comparison is always true due to limited range of data type [-Wtype-limits] 413 | if (sb.st_nlink <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:417:21: warning: comparison is always true due to limited range of data type [-Wtype-limits] 417 | if (sb.st_uid <= INT32_MAX) | ^~ -
../../../libgfortran/intrinsics/stat.c:421:21: warning: comparison is always true due to limited range of data type [-Wtype-limits] 421 | if (sb.st_gid <= INT32_MAX) | ^~ -
../../../libgfortran/caf/shmem/shared_memory.c:173:35: warning: right shift count >= width of type [-Wshift-count-overflow] 173 | size >> (sizeof (DWORD) * 8), | ^~ -
ctype_members.cc:212:14: warning: comparison is always true due to limited range of data type [-Wtype-limits] 212 | if (__wc >= 0 && __wc < 128 && _M_narrow_ok) | ~~~~~^~~~ -
ctype_members.cc:226:21: warning: comparison is always true due to limited range of data type [-Wtype-limits] 226 | if (*__lo >= 0 && *__lo < 128) | ~~~~~~^~~~ -
../../../libgfortran/generated/unpack_i1.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_i4.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_i8.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_i2.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_r4.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_r8.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_r10.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_r16.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_c4.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_c8.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_c10.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../libgfortran/generated/unpack_c16.c:122:14: warning: 'mstride' may be used uninitialized [-Wmaybe-uninitialized] 122 | if (mstride[0] == 0) | ~~~~~~~^~~ -
../../../../../libstdc++-v3/src/filesystem/ops.cc:584:42: warning: unused parameter 'to' [-Wunused-parameter] 584 | fs::create_directory_symlink(const path& to, const path& new_symlink, | ~~~~~~~~~~~~^~ -
../../../../../libstdc++-v3/src/filesystem/ops.cc:584:58: warning: unused parameter 'new_symlink' [-Wunused-parameter] 584 | fs::create_directory_symlink(const path& to, const path& new_symlink, | ~~~~~~~~~~~~^~~~~~~~~~~ -
../../../../../libstdc++-v3/src/filesystem/ops.cc:635:32: warning: unused parameter 'to' [-Wunused-parameter] 635 | fs::create_symlink(const path& to, const path& new_symlink, | ~~~~~~~~~~~~^~ -
../../../../../libstdc++-v3/src/filesystem/ops.cc:635:48: warning: unused parameter 'new_symlink' [-Wunused-parameter] 635 | fs::create_symlink(const path& to, const path& new_symlink, | ~~~~~~~~~~~~^~~~~~~~~~~ -
../../../libgfortran/intrinsics/string_intrinsics_inc.c:478:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'gfc_charlen_type' {aka 'unsigned int'} [-Wformat=] 478 | runtime_error ("If BACK is present with the value false, the value of " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../../../libgfortran/intrinsics/string_intrinsics_inc.c:478:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'gfc_charlen_type' {aka 'unsigned int'} [-Wformat=] 478 | runtime_error ("If BACK is present with the value false, the value of " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../../../libgfortran/intrinsics/string_intrinsics_inc.c:497:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'gfc_charlen_type' {aka 'unsigned int'} [-Wformat=] 497 | runtime_error ("If BACK is present with the value true, the value of " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../../../libgfortran/intrinsics/string_intrinsics_inc.c:497:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'gfc_charlen_type' {aka 'unsigned int'} [-Wformat=] 497 | runtime_error ("If BACK is present with the value true, the value of " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../../../libgcc/unwind-c.c:240:1: warning: no previous prototype for '__gcc_personality_seh0' [-Wmissing-prototypes] 240 | __gcc_personality_seh0 (PEXCEPTION_RECORD ms_exc, void *this_frame, | ^~~~~~~~~~~~~~~~~~~~~~