GCC warnings explained/TODO
From NetBSD Wiki
Note: The source code cited in this article is covered by the GPL.
Note 2: The commands to generate the following list were:
ftp ftp://ftp.gnu.org/pub/gnu/gcc/4.1.1/gcc-4.1.1.tar.bz2
bzcat gcc-4.1.1.tar.bz2 | tar xf -
cd gcc-4.1.1/gcc
grep -n -A1 "warning (" */*.c *.c > warnings
Contents |
C
c-common.c:887:constant_expression_warning (tree value)
c-common.c-888-{
--
c-common.c:904:overflow_warning (tree value)
c-common.c-905-{
--
c-common.c:913: warning (0, "integer overflow in expression");
c-common.c-914- }
--
c-common.c:922: warning (0, "floating point overflow in expression");
c-common.c-923- }
--
c-common.c:928: warning (0, "vector overflow in expression");
c-common.c-929- }
--
c-common.c:938:unsigned_conversion_warning (tree result, tree operand)
c-common.c-939-{
--
c-common.c:950: warning (0, "large integer implicitly truncated to unsigned type");
c-common.c-951- else
c-common.c:952: warning (OPT_Wconversion,
c-common.c-953- "negative integer implicitly converted to unsigned type");
--
c-common.c:975: warning (OPT_Wstrict_aliasing, "type-punning to incomplete type "
c-common.c-976- "might break strict-aliasing rules");
--
c-common.c:983: warning (OPT_Wstrict_aliasing, "dereferencing type-punned "
c-common.c-984- "pointer will break strict-aliasing rules");
--
c-common.c:987: warning (OPT_Wstrict_aliasing, "dereferencing type-punned "
c-common.c-988- "pointer might break strict-aliasing rules");
--
c-common.c:1049: warning (0, "overflow in implicit constant conversion");
c-common.c-1050- }
--
c-common.c:1052: unsigned_conversion_warning (t, expr);
c-common.c-1053- }
--
c-common.c:1185: warning (0, "operation on %qE may be undefined", list->expr);
c-common.c-1186- }
--
c-common.c:1475: constant_expression_warning (value);
c-common.c-1476-
--
c-common.c:1511: warning (0, "case label value is less than minimum value for type");
c-common.c-1512- return false;
--
c-common.c:1519: warning (0, "case label value exceeds maximum value for type");
c-common.c-1520- return false;
--
c-common.c:1527: warning (0, "lower value in case label range"
c-common.c-1528- " less than minimum value for type");
--
c-common.c:1536: warning (0, "upper value in case label range"
c-common.c-1537- " exceeds maximum value for type");
--
c-common.c:2159: warning (0, "comparison is always false due to limited range of data type");
c-common.c-2160- if (val == truthvalue_true_node)
c-common.c:2161: warning (0, "comparison is always true due to limited range of data type");
c-common.c-2162- }
--
c-common.c:2231: warning (0, "comparison of unsigned expression >= 0 is always true");
c-common.c-2232- value = truthvalue_true_node;
--
c-common.c:2240: warning (0, "comparison of unsigned expression < 0 is always false");
c-common.c-2241- value = truthvalue_false_node;
--
c-common.c:2420: warning (0, "the address of %qD, will always evaluate as %<true%>",
c-common.c-2421- TREE_OPERAND (expr, 0));
--
c-common.c:2516: warning (OPT_Wparentheses,
c-common.c-2517- "suggest parentheses around assignment used as truth value");
--
c-common.c:3664: warning (0, "empty range specified");
c-common.c-3665- }
--
c-common.c:3784: warning (0, "%Jcase value %qs not in enumerated type",
c-common.c-3785- CASE_LABEL (label), buf);
--
c-common.c:3787: warning (0, "%Jcase value %qs not in enumerated type %qT",
c-common.c-3788- CASE_LABEL (label), buf, type);
--
c-common.c:3844: warning (OPT_Wswitch_default, "%Hswitch missing default case",
c-common.c-3845- &switch_location);
--
c-common.c:3904: warning (0, "%Henumeration value %qE not handled in switch",
c-common.c-3905- &switch_location, TREE_PURPOSE (chain));
--
c-common.c:4094: warning (OPT_Wattributes,
c-common.c-4095- "%qE attribute ignored for field of type %qT",
--
c-common.c:4106: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4107- *no_add_attrs = true;
--
c-common.c:4125: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4126- *no_add_attrs = true;
--
c-common.c:4143: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4144- *no_add_attrs = true;
--
c-common.c:4170: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4171- *no_add_attrs = true;
--
c-common.c:4189: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4190- *no_add_attrs = true;
--
c-common.c:4212: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4213- *no_add_attrs = true;
--
c-common.c:4233: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4234- *no_add_attrs = true;
--
c-common.c:4258: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4259- *no_add_attrs = true;
--
c-common.c:4284: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4285- *no_add_attrs = true;
--
c-common.c:4312: warning (OPT_Wattributes,
c-common.c-4313- "%qE attribute have effect only on public objects", name);
--
c-common.c:4332: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4333- *no_add_attrs = true;
--
c-common.c:4359: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4360- *no_add_attrs = true;
--
c-common.c:4410: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4411- return NULL_TREE;
--
c-common.c:4435: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4436- *no_add_attrs = true;
--
c-common.c:4463: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4464- *no_add_attrs = true;
--
c-common.c:4482: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4483- else
--
c-common.c:4540: warning (OPT_Wattributes, "specifying vector types with "
c-common.c-4541- "__attribute__ ((mode)) is deprecated");
c-common.c:4542: warning (OPT_Wattributes,
c-common.c-4543- "use __attribute__ ((vector_size)) instead");
--
c-common.c:4814: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4815- *no_add_attrs = true;
--
c-common.c:4872: warning (OPT_Wattributes, "%qE attribute ignored on non-class types",
c-common.c-4873- name);
--
c-common.c:4879: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4880- return NULL_TREE;
--
c-common.c:4897: warning (OPT_Wattributes, "%qE attribute ignored on types",
c-common.c-4898- name);
--
c-common.c:4975: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-4976- return NULL_TREE;
--
c-common.c:5041: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5042- *no_add_attrs = true;
--
c-common.c:5059: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5060- *no_add_attrs = true;
--
c-common.c:5105: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5106- *no_add_attrs = true;
--
c-common.c:5173: warning (OPT_Wattributes, "%qE attribute ignored for %qE", name, what);
c-common.c-5174- else
c-common.c:5175: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5176- }
--
c-common.c:5199: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5200- return NULL_TREE;
--
c-common.c:5380: warning (OPT_Wformat,
c-common.c-5381- "not enough variable arguments to fit a sentinel");
--
c-common.c:5403: warning (OPT_Wformat,
c-common.c-5404- "not enough variable arguments to fit a sentinel");
--
c-common.c:5425: warning (OPT_Wformat, "missing sentinel in function call");
c-common.c-5426- }
--
c-common.c:5467: warning (OPT_Wnonnull, "null argument where non-null required "
c-common.c-5468- "(argument %lu)", (unsigned long) param_num);
--
c-common.c:5498: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5499- *no_add_attrs = true;
--
c-common.c:5521: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5522- *no_add_attrs = true;
--
c-common.c:5560: warning (OPT_Wattributes, "%qE attribute ignored", name);
c-common.c-5561- *no_add_attrs = true;
--
c-common.c:5577: warning (OPT_Wattributes,
c-common.c-5578- "%qE attribute requires prototypes with named arguments", name);
--
c-common.c:5588: warning (OPT_Wattributes,
c-common.c-5589- "%qE attribute only applies to variadic functions", name);
--
c-common.c:5600: warning (0, "requested position is not an integer constant");
c-common.c-5601- *no_add_attrs = true;
--
c-common.c:5607: warning (0, "requested position is less than zero");
c-common.c-5608- *no_add_attrs = true;
--
c-common.c:5909: warning (0, "%Hignoring return value of %qD, "
c-common.c-5910- "declared with attribute warn_unused_result",
--
c-common.c:5913: warning (0, "%Hignoring return value of function "
c-common.c-5914- "declared with attribute warn_unused_result",
Declarations
c-decl.c:564: warning (0, "array %q+D assumed to have one element", decl);
c-decl.c-565-
--
c-decl.c:761: warning (0, "label %q+D defined but not used", p);
c-decl.c-762- else
c-decl.c:763: warning (0, "label %q+D declared but not defined", p);
c-decl.c-764- }
--
c-decl.c:812: warning (OPT_Wunused_variable, "unused variable %q+D", p);
c-decl.c-813-
--
c-decl.c:1120: warning (0, "prototype for %q+D follows non-prototype definition",
c-decl.c-1121- newdecl);
--
c-decl.c:1183: warning (0, "built-in function %q+D declared as non-function",
c-decl.c-1184- newdecl);
--
c-decl.c:1186: warning (OPT_Wshadow, "declaration of %q+D shadows "
c-decl.c-1187- "a built-in function", newdecl);
--
c-decl.c:1216: warning (0, "conflicting types for built-in function %q+D",
c-decl.c-1217- newdecl);
--
c-decl.c:1302: warning (OPT_Wshadow, "declaration of %q+D shadows "
c-decl.c-1303- "a built-in function", newdecl);
--
c-decl.c:1378: warning (OPT_Wtraditional, "non-static declaration of %q+D "
c-decl.c-1379- "follows static declaration", newdecl);
--
c-decl.c:1431: warning (OPT_Wtraditional, "non-static declaration of %q+D "
c-decl.c-1432- "follows static declaration", newdecl);
--
c-decl.c:1480: warning (0, "redeclaration of %q+D with different visibility "
c-decl.c-1481- "(old visibility preserved)", newdecl);
--
c-decl.c:1491: warning (OPT_Wattributes, "inline declaration of %qD follows "
c-decl.c-1492- "declaration with attribute noinline", newdecl);
--
c-decl.c:1498: warning (OPT_Wattributes, "declaration of %q+D with attribute "
c-decl.c-1499- "noinline follows inline declaration ", newdecl);
--
c-decl.c:1513: warning (0, "%q+D declared inline after being called", olddecl);
c-decl.c-1514- warned = true;
--
c-decl.c:1518: warning (0, "%q+D declared inline after its definition", olddecl);
c-decl.c-1519- warned = true;
--
c-decl.c:1564: warning (OPT_Wredundant_decls, "redundant redeclaration of %q+D",
c-decl.c-1565- newdecl);
--
c-decl.c:1913: warning (OPT_Wshadow, "declaration of %q+D shadows previous "
c-decl.c-1914- "non-variable", new_decl);
--
c-decl.c:1918: warning (OPT_Wshadow, "declaration of %q+D shadows a parameter",
c-decl.c-1919- new_decl);
--
c-decl.c:1921: warning (OPT_Wshadow, "declaration of %q+D shadows a global "
c-decl.c-1922- "declaration", new_decl);
--
c-decl.c:1926: warning (OPT_Wshadow, "declaration of %q+D shadows "
c-decl.c-1927- "a built-in function", new_decl);
--
c-decl.c:1931: warning (OPT_Wshadow, "declaration of %q+D shadows a previous local",
c-decl.c-1932- new_decl);
--
c-decl.c:1934: warning (OPT_Wshadow, "%Jshadowed declaration is here", old_decl);
c-decl.c-1935-
--
c-decl.c:2134: warning (OPT_Wnested_externs, "nested extern declaration of %qD", x);
c-decl.c-2135-
--
c-decl.c:2292:implicit_decl_warning (tree id, tree olddecl)
c-decl.c-2293-{
--
c-decl.c:2354: implicit_decl_warning (functionid, decl);
c-decl.c-2355- C_DECL_IMPLICIT (decl) = 1;
--
c-decl.c:2364: warning (0, "incompatible implicit declaration of built-in"
c-decl.c-2365- " function %qD", decl);
--
c-decl.c:2391: implicit_decl_warning (functionid, 0);
c-decl.c-2392- asmspec_tree = maybe_apply_renaming_pragma (decl, /*asmname=*/NULL);
--
c-decl.c:2579: warning (OPT_Wtraditional, "%Htraditional C lacks a separate namespace "
c-decl.c-2580- "for labels, identifier %qE conflicts", &location, name);
--
c-decl.c:2942: warning (0, "useless storage class specifier in empty declaration");
c-decl.c-2943- warned = 2;
--
c-decl.c:2948: warning (0, "useless %<__thread%> in empty declaration");
c-decl.c-2949- warned = 2;
--
c-decl.c:2956: warning (0, "useless type qualifier in empty declaration");
c-decl.c-2957- warned = 2;
--
c-decl.c:3035: warning (0, "GCC does not yet properly implement %<[*]%> array declarators");
c-decl.c-3036- return declarator;
--
c-decl.c:3142: warning (OPT_Wmain, "%q+D is usually a function", decl);
c-decl.c-3143-
--
c-decl.c:3263: warning (OPT_Wattributes, "inline function %q+D given attribute noinline",
c-decl.c-3264- decl);
--
c-decl.c:3415: constant_expression_warning (DECL_SIZE (decl));
c-decl.c-3416- else
--
c-decl.c:3464: warning (0, "ignoring asm-specifier for non-static local "
c-decl.c-3465- "variable %q+D", decl);
--
c-decl.c:3751: constant_expression_warning (*width);
c-decl.c-3752- if (tree_int_cst_sgn (*width) < 0)
--
c-decl.c:3801: warning (0, "%qs is narrower than values of its type", name);
c-decl.c-3802- }
--
c-decl.c:4043: warning (0, "%qs initialized and declared %<extern%>", name);
c-decl.c-4044- else
--
c-decl.c:4193: constant_expression_warning (size);
c-decl.c-4194- if (tree_int_cst_sgn (size) < 0)
--
c-decl.c:4360: warning (OPT_Wreturn_type,
c-decl.c-4361- "type qualifiers ignored on function return type");
--
c-decl.c:4523: warning (OPT_Wattributes,
c-decl.c-4524- "attributes in parameter array declarator ignored");
--
c-decl.c:4627: warning (0, "%<noreturn%> function returns non-void value");
c-decl.c-4628-
--
c-decl.c:4806: warning (OPT_Wstrict_prototypes,
c-decl.c-4807- "function declaration isn%'t a prototype");
--
c-decl.c:4860: warning (0, "parameter %u (%q+D) has void type",
c-decl.c-4861- parmno, parm);
--
c-decl.c:4863: warning (0, "%Jparameter %u has void type",
c-decl.c-4864- parm, parmno);
--
c-decl.c:5000: warning (0, "%<%s %E%> declared inside parameter list",
c-decl.c-5001- keyword, b->id);
--
c-decl.c:5004: warning (0, "anonymous %s declared inside parameter list",
c-decl.c-5005- keyword);
--
c-decl.c:5009: warning (0, "its scope is only this definition or declaration,"
c-decl.c-5010- " which is probably not what you want");
--
c-decl.c:5520: warning (0, "union cannot be made transparent");
c-decl.c-5521- }
--
c-decl.c:5661: warning (0, "enumeration values exceed range of largest integer");
c-decl.c-5662- tem = long_long_integer_type_node;
--
c-decl.c:5780: constant_expression_warning (value);
c-decl.c-5781- }
--
c-decl.c:5885: warning (OPT_Wattributes, "inline function %q+D given attribute noinline",
c-decl.c-5886- decl1);
--
c-decl.c:5963: warning (OPT_Wstrict_prototypes,
c-decl.c-5964- "function declaration isn%'t a prototype");
--
c-decl.c:5971: warning (OPT_Wmissing_prototypes, "no previous prototype for %q+D", decl1);
c-decl.c-5972- /* Optionally warn of any def with no previous prototype
--
c-decl.c:5979: warning (OPT_Wmissing_prototypes,
c-decl.c-5980- "%q+D was used with no prototype before its definition", decl1);
--
c-decl.c:5986: warning (OPT_Wmissing_declarations, "no previous declaration for %q+D",
c-decl.c-5987- decl1);
--
c-decl.c:5995: warning (OPT_Wmissing_declarations,
c-decl.c-5996- "%q+D was used with no declaration before its definition", decl1);
--
c-decl.c:6132: warning (OPT_Wtraditional,
c-decl.c-6133- "%Jtraditional C rejects ISO C style function definitions",
--
c-decl.c:6183: warning (OPT_Wold_style_definition, "%Jold-style function definition",
c-decl.c-6184- fndecl);
--
c-decl.c:6235: warning (OPT_Wextra, "type of %q+D defaults to %<int%>", decl);
c-decl.c-6236- }
--
c-decl.c:6310: warning (0, "number of arguments doesn%'t match "
c-decl.c-6311- "built-in prototype");
--
c-decl.c:6349: warning (0, "promoted argument %qD "
c-decl.c-6350- "doesn%'t match built-in prototype", parm);
--
c-decl.c:6363: warning (0, "argument %qD doesn%'t match "
c-decl.c-6364- "built-in prototype", parm);
--
c-decl.c:6589: warning (OPT_Wreturn_type,
c-decl.c-6590- "no return statement in function returning non-void");
--
c-decl.c:6599: warning (OPT_Wextra, "this function may return with or without a value");
c-decl.c-6600-
--
c-decl.c:7337: warning (OPT_Wextra, "%qE is not at beginning of declaration", scspec);
c-decl.c-7338- switch (i)
Format strings
c-format.c:198: warning (OPT_Wformat, "%qE is an unrecognized format function type", c-format.c-199- format_type_id); -- c-format.c:821:static void format_type_warning (const char *, const char *, int, tree, c-format.c-822- int, const char *, tree, int); -- c-format.c:899: warning (OPT_Wmissing_format_attribute, "function might " c-format.c-900- "be possible candidate for %qs format attribute", -- c-format.c:991: warning (OPT_Wformat, "missing $ operand number in format"); c-format.c-992- return -1; -- c-format.c:1012: warning (OPT_Wformat, "missing $ operand number in format"); c-format.c-1013- return -1; -- c-format.c:1021: warning (OPT_Wformat, "%s does not support %%n$ operand number formats", c-format.c-1022- C_STD_NAME (STD_EXT)); -- c-format.c:1028: warning (OPT_Wformat, "operand number out of range in format"); c-format.c-1029- return -1; -- c-format.c:1051: warning (OPT_Wformat, "format argument %d used more than once in %s format", c-format.c-1052- argnum, fki->name); -- c-format.c:1083: warning (OPT_Wformat, "$ operand number used after format without operand number"); c-format.c-1084- return true; -- c-format.c:1113: warning (OPT_Wformat, c-format.c-1114- "format argument %d unused before used argument %d in $-style format", -- c-format.c:1208: warning (OPT_Wformat_nonliteral, c-format.c-1209- "format not a string literal, format string not checked"); -- c-format.c:1223: warning (OPT_Wformat_security, c-format.c-1224- "format not a string literal and no format arguments"); -- c-format.c:1226: warning (OPT_Wformat_nonliteral, c-format.c-1227- "format not a string literal and no format arguments"); -- c-format.c:1229: warning (OPT_Wformat_nonliteral, c-format.c-1230- "format not a string literal, argument types not checked"); -- c-format.c:1243: warning (OPT_Wformat_extra_args, "too many arguments for format"); c-format.c-1244- if (res.number_dollar_extra_args > 0 && res.number_non_literal == 0 -- c-format.c:1246: warning (OPT_Wformat_extra_args, "unused arguments in $-style format"); c-format.c-1247- if (res.number_empty > 0 && res.number_non_literal == 0 -- c-format.c:1249: warning (OPT_Wformat_zero_length, "zero-length %s format string", c-format.c-1250- format_types[info->format_type].name); -- c-format.c:1253: warning (OPT_Wformat, "format is a wide character string"); c-format.c-1254- -- c-format.c:1256: warning (OPT_Wformat, "unterminated format string"); c-format.c-1257-} -- c-format.c:1470: warning (OPT_Wformat, "embedded %<\\0%> in format"); c-format.c-1471- if (info->first_arg_num != 0 && params != 0 -- c-format.c:1485: warning (OPT_Wformat, "spurious trailing %<%%%> in format"); c-format.c-1486- continue; -- c-format.c:1529: warning (OPT_Wformat, "repeated %s in format", _(s->name)); c-format.c-1530- } -- c-format.c:1542: warning (OPT_Wformat, "missing fill character at end of strfmon format"); c-format.c-1543- return; -- c-format.c:1586: warning (OPT_Wformat, "too few arguments for format"); c-format.c-1587- return; -- c-format.c:1627: warning (OPT_Wformat, "zero width in %s format", fki->name); c-format.c-1628- if (found_width) -- c-format.c:1645: warning (OPT_Wformat, "empty left precision in %s format", fki->name); c-format.c-1646- while (ISDIGIT (*format_chars)) -- c-format.c:1688: warning (OPT_Wformat, "too few arguments for format"); c-format.c-1689- return; -- c-format.c:1718: warning (OPT_Wformat, "empty precision in %s format", fki->name); c-format.c-1719- while (ISDIGIT (*format_chars)) -- c-format.c:1757: warning (OPT_Wformat, c-format.c-1758- "%s does not support the %qs %s length modifier", -- c-format.c:1774: warning (OPT_Wformat, "repeated %s in format", _(s->name)); c-format.c-1775- } -- c-format.c:1808: warning (OPT_Wformat, "conversion lacks type at end of format"); c-format.c-1809- continue; -- c-format.c:1819: warning (OPT_Wformat, "unknown conversion type character %qc in format", c-format.c-1820- format_char); -- c-format.c:1822: warning (OPT_Wformat, "unknown conversion type character 0x%x in format", c-format.c-1823- format_char); -- c-format.c:1829: warning (OPT_Wformat, "%s does not support the %<%%%c%> %s format", c-format.c-1830- C_STD_NAME (fci->std), format_char, fki->name); -- c-format.c:1845: warning (OPT_Wformat, "%s used with %<%%%c%> %s format", c-format.c-1846- _(s->name), format_char, fki->name); -- c-format.c:1854: warning (OPT_Wformat, "%s does not support %s", c-format.c-1855- C_STD_NAME (s->std), _(s->long_name)); -- c-format.c:1863: warning (OPT_Wformat, c-format.c-1864- "%s does not support %s with the %<%%%c%> %s format", -- c-format.c:1897: warning (OPT_Wformat, c-format.c-1898- "%s ignored with %s and %<%%%c%> %s format", -- c-format.c:1902: warning (OPT_Wformat, "%s ignored with %s in %s format", c-format.c-1903- _(s->name), _(t->name), fki->name); -- c-format.c:1908: warning (OPT_Wformat, c-format.c-1909- "use of %s and %s together with %<%%%c%> %s format", -- c-format.c:1913: warning (OPT_Wformat, "use of %s and %s together in %s format", c-format.c-1914- _(s->name), _(t->name), fki->name); -- c-format.c:1932: warning (OPT_Wformat_y2k, "%<%%%c%> yields only last 2 digits of " c-format.c-1933- "year in some locales", format_char); -- c-format.c:1935: warning (OPT_Wformat_y2k, "%<%%%c%> yields only last 2 digits of " c-format.c-1936- "year", format_char); -- c-format.c:1952: warning (OPT_Wformat, "no closing %<]%> for %<%%[%> format"); c-format.c-1953- } -- c-format.c:1965: warning (OPT_Wformat, c-format.c-1966- "use of %qs length modifier with %qc type character", -- c-format.c:1973: warning (OPT_Wformat, "too few arguments for format"); c-format.c-1974- return; -- c-format.c:1987: warning (OPT_Wformat, c-format.c-1988- "%s does not support the %<%%%s%c%> %s format", -- c-format.c:2005: warning (OPT_Wformat, "operand number specified with " c-format.c-2006- "suppressed assignment"); -- c-format.c:2008: warning (OPT_Wformat, "operand number specified for format " c-format.c-2009- "taking no argument"); -- c-format.c:2026: warning (OPT_Wformat, "missing $ operand number in format"); c-format.c-2027- return; -- c-format.c:2038: warning (OPT_Wformat, "too few arguments for format"); c-format.c-2039- return; -- c-format.c:2151: warning (OPT_Wformat, "writing through null pointer " c-format.c-2152- "(argument %d)", arg_num); -- c-format.c:2159: warning (OPT_Wformat, "reading through null pointer " c-format.c-2160- "(argument %d)", arg_num); -- c-format.c:2179: warning (OPT_Wformat, "writing into constant object " c-format.c-2180- "(argument %d)", arg_num); -- c-format.c:2190: warning (OPT_Wformat, "extra type qualifiers in format " c-format.c-2191- "argument (argument %d)", -- c-format.c:2197: format_type_warning (types->name, format_start, format_length, c-format.c-2198- wanted_type, types->pointer_count, -- c-format.c:2246: format_type_warning (types->name, format_start, format_length, c-format.c-2247- wanted_type, types->pointer_count, -- c-format.c:2264:format_type_warning (const char *descr, const char *format_start, c-format.c-2265- int format_length, tree wanted_type, int pointer_count, -- c-format.c:2301: warning (OPT_Wformat, "%s should have type %<%s%s%>, " c-format.c-2302- "but argument %d has type %qT", -- c-format.c:2305: warning (OPT_Wformat, "format %q.*s expects type %<%s%s%>, " c-format.c-2306- "but argument %d has type %qT", -- c-format.c:2313: warning (OPT_Wformat, "%s should have type %<%T%s%>, " c-format.c-2314- "but argument %d has type %qT", -- c-format.c:2317: warning (OPT_Wformat, "format %q.*s expects type %<%T%s%>, " c-format.c-2318- "but argument %d has type %qT",
Parsing C code
c-lex.c:254: warning (0, "badly nested C headers from preprocessor"); c-lex.c-255- --pending_lang_change; -- c-lex.c:302: warning (OPT_Wunknown_pragmas, "%Hignoring #pragma %s %s", c-lex.c-303- &fe_loc, space, name); -- c-lex.c:601: warning (0, "this decimal constant is unsigned only in ISO C90"); c-lex.c-602- } -- c-lex.c:604: warning (OPT_Wtraditional, c-lex.c-605- "this decimal constant would be unsigned in ISO C90"); -- c-lex.c:769: warning (OPT_Wtraditional, c-lex.c-770- "traditional C rejects string constant concatenation"); -- c-parser.c:3894: warning (0, "%E qualifier ignored on asm", c-parser.c-3895- c_parser_peek_token (parser)->value); -- c-parser.c:4559: warning (OPT_Wtraditional, c-parser.c-4560- "traditional C rejects the unary plus operator");
Common C and Objective C
c-objc-common.c:81: warning (OPT_Winline, "function %q+F can never be inlined because it " c-objc-common.c-82- "is suppressed using -fno-inline", fn); -- c-objc-common.c:91: warning (OPT_Winline, "function %q+F can never be inlined because it " c-objc-common.c-92- "might not be bound within this unit of translation", fn); -- c-objc-common.c:99: warning (OPT_Winline, "function %q+F can never be inlined because it " c-objc-common.c-100- "uses attributes conflicting with inlining", fn);
Pragmas
c-pragma.c:41: do { warning (OPT_Wpragmas, gmsgid); return; } while (0)
c-pragma.c-42-#define GCC_BAD2(gmsgid, arg) \
c-pragma.c:43: do { warning (OPT_Wpragmas, gmsgid, arg); return; } while (0)
c-pragma.c-44-
--
c-pragma.c:114: warning (OPT_Wpragmas, "\
c-pragma.c-115-#pragma pack(pop, %s) encountered without matching #pragma pack(push, %s)"
--
c-pragma.c:207: warning (OPT_Wpragmas, "junk at end of %<#pragma pack%>");
c-pragma.c-208-
--
c-pragma.c:263: warning (OPT_Wpragmas, "applying #pragma weak %q+D after first use "
c-pragma.c-264- "results in unspecified behavior", decl);
--
c-pragma.c:346: warning (OPT_Wpragmas, "junk at end of #pragma weak");
c-pragma.c-347-
--
c-pragma.c:419: warning (OPT_Wpragmas, "junk at end of #pragma redefine_extname");
c-pragma.c-420-
--
c-pragma.c:424: warning (OPT_Wunknown_pragmas,
c-pragma.c-425- "#pragma redefine_extname not supported on this target");
--
c-pragma.c:442: warning (OPT_Wpragmas, "#pragma redefine_extname ignored due to "
c-pragma.c-443- "conflict with previous rename");
--
c-pragma.c:465: warning (OPT_Wpragmas, "#pragma redefine_extname ignored due to "
c-pragma.c-466- "conflict with previous #pragma redefine_extname");
--
c-pragma.c:487: warning (OPT_Wpragmas, "junk at end of #pragma extern_prefix");
c-pragma.c-488-
--
c-pragma.c:493: warning (OPT_Wunknown_pragmas,
c-pragma.c-494- "#pragma extern_prefix not supported on this target");
--
c-pragma.c:520: warning (OPT_Wpragmas, "asm declaration ignored due to "
c-pragma.c-521- "conflict with previous rename");
--
c-pragma.c:529: warning (OPT_Wpragmas, "#pragma redefine_extname ignored due to "
c-pragma.c-530- "conflict with previous rename");
--
c-pragma.c:551: warning (OPT_Wpragmas, "#pragma redefine_extname ignored due to "
c-pragma.c-552- "conflict with __asm__ declaration");
--
c-pragma.c:665: warning (OPT_Wpragmas, "junk at end of %<#pragma GCC visibility%>");
Type checking
c-typeck.c:1198: If they don't match, ask for a warning (but no error). */ c-typeck.c-1199- if (TYPE_ACTUAL_ARG_TYPES (f1) -- c-typeck.c:1795: warning (0, "dereferencing %<void *%> pointer"); c-typeck.c-1796- -- c-typeck.c:1870: warning (OPT_Wchar_subscripts, "array subscript has type %<char%>"); c-typeck.c-1871- -- c-typeck.c:2181: warning (0, "function called through a non-compatible type"); c-typeck.c-2182- -- c-typeck.c:2322: warning (0, "passing argument %d of %qE as integer " c-typeck.c-2323- "rather than floating due to prototype", -- c-typeck.c:2327: warning (0, "passing argument %d of %qE as integer " c-typeck.c-2328- "rather than complex due to prototype", -- c-typeck.c:2332: warning (0, "passing argument %d of %qE as complex " c-typeck.c-2333- "rather than floating due to prototype", -- c-typeck.c:2337: warning (0, "passing argument %d of %qE as floating " c-typeck.c-2338- "rather than integer due to prototype", -- c-typeck.c:2342: warning (0, "passing argument %d of %qE as complex " c-typeck.c-2343- "rather than integer due to prototype", -- c-typeck.c:2347: warning (0, "passing argument %d of %qE as floating " c-typeck.c-2348- "rather than complex due to prototype", -- c-typeck.c:2359: warning (0, "passing argument %d of %qE as %<float%> " c-typeck.c-2360- "rather than %<double%> due to prototype", -- c-typeck.c:2379: warning (OPT_Wconversion, "passing argument %d of %qE " c-typeck.c-2380- "with different width due to prototype", -- c-typeck.c:2402: warning (OPT_Wconversion, "passing argument %d of %qE " c-typeck.c-2403- "as unsigned due to prototype", -- c-typeck.c:2406: warning (OPT_Wconversion, "passing argument %d of %qE " c-typeck.c-2407- "as signed due to prototype", argnum, rname); -- c-typeck.c:2495: warning (OPT_Wparentheses, c-typeck.c-2496- "suggest parentheses around + or - inside shift"); -- c-typeck.c:2503: warning (OPT_Wparentheses, c-typeck.c-2504- "suggest parentheses around && within ||"); -- c-typeck.c:2513: warning (OPT_Wparentheses, c-typeck.c-2514- "suggest parentheses around arithmetic in operand of |"); -- c-typeck.c:2518: warning (OPT_Wparentheses, c-typeck.c-2519- "suggest parentheses around comparison in operand of |"); -- c-typeck.c:2528: warning (OPT_Wparentheses, c-typeck.c-2529- "suggest parentheses around arithmetic in operand of ^"); -- c-typeck.c:2533: warning (OPT_Wparentheses, c-typeck.c-2534- "suggest parentheses around comparison in operand of ^"); -- c-typeck.c:2541: warning (OPT_Wparentheses, c-typeck.c-2542- "suggest parentheses around + or - in operand of &"); -- c-typeck.c:2546: warning (OPT_Wparentheses, c-typeck.c-2547- "suggest parentheses around comparison in operand of &"); -- c-typeck.c:2553: warning (OPT_Wparentheses, "comparisons like X<=Y<=Z do not " c-typeck.c-2554- "have their mathematical meaning"); -- c-typeck.c:3181: warning (0, "signed and unsigned type in conditional expression"); -- c-typeck.c:3290: warning (0, "left-hand operand of comma expression has no effect"); -- c-typeck.c:3411: warning (0, "cast adds new qualifiers to function type"); c-typeck.c-3412- -- c-typeck.c:3431: warning (OPT_Wcast_align, c-typeck.c-3432- "cast increases required alignment of target type"); -- c-typeck.c:3438: warning (OPT_Wpointer_to_int_cast, c-typeck.c-3439- "cast from pointer to integer of different size"); -- c-typeck.c:3443: warning (OPT_Wbad_function_cast, "cast from function call of type %qT " c-typeck.c-3444- "to non-matching type %qT", otype, type); -- c-typeck.c:3451: warning (OPT_Wint_to_pointer_cast, "cast to pointer from integer " c-typeck.c-3452- "of different size"); -- c-typeck.c:3915: warning (OPT_Wc___compat, "request for implicit conversion from " c-typeck.c-3916- "%qT to %qT not permitted in C++", rhstype, type); -- c-typeck.c:3927: warning (OPT_Wmissing_format_attribute, c-typeck.c-3928- "argument %d of %qE might be " -- c-typeck.c:3933: warning (OPT_Wmissing_format_attribute, c-typeck.c-3934- "assignment left-hand side might be " -- c-typeck.c:3938: warning (OPT_Wmissing_format_attribute, c-typeck.c-3939- "initialization left-hand side might be " -- c-typeck.c:3943: warning (OPT_Wmissing_format_attribute, c-typeck.c-3944- "return type might be " -- c-typeck.c:4185: warning (OPT_Wtraditional, "traditional C rejects automatic " c-typeck.c-4186- "aggregate initialization"); -- c-typeck.c:4383: warning (0, "(near initialization for %qs)", ofwhat); -- c-typeck.c:6445: warning (OPT_Wtraditional, "traditional C rejects initialization " c-typeck.c-6446- "of unions"); -- c-typeck.c:6811: warning (0, "function declared %<noreturn%> has a %<return%> statement"); -- c-typeck.c:6885: warning (0, "function returns address of local variable"); -- c-typeck.c:6969: warning (OPT_Wtraditional, "%<long%> switch expression not " c-typeck.c-6970- "converted to %<int%> in ISO C"); -- c-typeck.c:7104: warning (OPT_Wparentheses, c-typeck.c-7105- "%Hsuggest explicit braces to avoid ambiguous %<else%>", -- c-typeck.c:7124: warning (0, "%Hempty body in an if-statement", c-typeck.c-7125- EXPR_LOCUS (*inner_then)); -- c-typeck.c:7133: warning (0, "%Hempty body in an else-statement", c-typeck.c-7134- EXPR_LOCUS (*inner_else)); -- c-typeck.c:7264: warning (0, "%Hstatement with no effect", c-typeck.c-7265- EXPR_HAS_LOCATION (expr) ? EXPR_LOCUS (expr) : &input_location); -- c-typeck.c:7744: warning (OPT_Wdiv_by_zero, "division by zero"); -- c-typeck.c:7785: warning (OPT_Wdiv_by_zero, "division by zero"); -- c-typeck.c:7830: warning (0, "right shift count is negative"); -- c-typeck.c:7837: warning (0, "right shift count >= width of type"); -- c-typeck.c:7858: warning (0, "left shift count is negative"); c-typeck.c-7859- -- c-typeck.c:7861: warning (0, "left shift count >= width of type"); -- c-typeck.c:7878: warning (OPT_Wfloat_equal, c-typeck.c-7879- "comparing floating point with == or != is unsafe"); -- c-typeck.c:8207: warning (0, "comparison between signed and unsigned"); -- c-typeck.c:8253: warning (0, "comparison of promoted ~unsigned with constant"); -- c-typeck.c:8261: warning (0, "comparison of promoted ~unsigned with unsigned");
C++
cp/call.c:183:static void add_warning (struct z_candidate *, struct z_candidate *);
cp/call.c-184-static bool reference_related_p (tree, tree);
--
cp/call.c:3442: warning (0, "enumeral mismatch in conditional expression: %qT vs %qT",
cp/call.c-3443- arg2_type, arg3_type);
--
cp/call.c:3449: warning (0, "enumeral and non-enumeral type in conditional expression");
cp/call.c-3450-
--
cp/call.c:3816: warning (0, "comparison between %q#T and %q#T",
cp/call.c-3817- TREE_TYPE (arg1), TREE_TYPE (arg2));
--
cp/call.c:4200: warning (0, "passing NULL to non-pointer argument %P of %qD",
cp/call.c-4201- argnum, fn);
--
cp/call.c:4203: warning (0, "converting to non-pointer type %qT from NULL", t);
cp/call.c-4204- }
--
cp/call.c:4211: warning (0, "passing %qT for argument %P to %qD",
cp/call.c-4212- TREE_TYPE (expr), argnum, fn);
--
cp/call.c:4214: warning (0, "converting to %qT from %qT", t, TREE_TYPE (expr));
cp/call.c-4215- }
--
cp/call.c:4473: warning (0, "cannot pass objects of non-POD type %q#T through %<...%>; "
cp/call.c-4474- "call will abort at runtime", TREE_TYPE (arg));
--
cp/call.c:4499: warning (0, "cannot receive objects of non-POD type %q#T through %<...%>; "
cp/call.c-4500- "call will abort at runtime", type);
--
cp/call.c:4620: warning (OPT_Wmissing_format_attribute,
cp/call.c-4621- "argument of function call might be a candidate for a format attribute");
--
cp/call.c:5420: warning (0, (DECL_CONSTRUCTOR_P (current_function_decl) ?
cp/call.c-5421- "abstract virtual %q#D called from constructor"
--
cp/call.c:5933:add_warning (struct z_candidate *winner, struct z_candidate *loser)
cp/call.c-5934-{
--
cp/call.c:6033: warning (0, "passing %qT chooses %qT over %qT",
cp/call.c-6034- type, type1, type2);
cp/call.c:6035: warning (0, " in call to %qD", w->fn);
cp/call.c-6036- }
--
cp/call.c:6038: add_warning (w, l);
cp/call.c-6039- }
--
cp/call.c:6092: warning (0, "choosing %qD over %qD", w->fn, l->fn);
cp/call.c:6093: warning (0, " for conversion from %qT to %qT",
cp/call.c-6094- source, w->second_conv->type);
cp/call.c:6095: warning (0, " because conversion sequence for the argument is better");
cp/call.c-6096- }
--
cp/call.c:6098: add_warning (w, l);
cp/call.c-6099- }
--
cp/call.c:6217: add_warning (w, l);
cp/call.c-6218- return winner;
--
cp/class.c:1239: warning (0, "base class %q#T has a non-virtual destructor", basetype);
cp/class.c-1240-
--
cp/class.c:1553: warning (0, "all member functions in class %qT are private", t);
cp/class.c-1554- return;
--
cp/class.c:1564: warning (0, "%q#T only defines a private destructor and has no friends",
cp/class.c-1565- t);
--
cp/class.c:1607: warning (0, "%q#T only defines private constructors and has no friends",
cp/class.c-1608- t);
--
cp/class.c:2419: warning (0, "%q+D was hidden", TREE_VALUE (base_fndecls));
cp/class.c:2420: warning (0, " by %q+D", fns);
cp/class.c-2421- base_fndecls = TREE_CHAIN (base_fndecls);
--
cp/class.c:2668: warning (0, "width of %q+D exceeds its type", field);
cp/class.c-2669- else if (TREE_CODE (type) == ENUMERAL_TYPE
--
cp/class.c:2677: warning (0, "%q+D is too small to hold all values of %q#T", field, type);
cp/class.c-2678- }
--
cp/class.c:2944: warning (0, "non-static reference %q+#D in class without a constructor", x);
cp/class.c-2945- }
--
cp/class.c:2991: warning (0, "non-static const member %q+#D in class without a constructor", x);
cp/class.c-2992- }
--
cp/class.c:3039: warning (0, "%q#T has pointer data members", t);
cp/class.c-3040-
--
cp/class.c:3043: warning (0, " but does not override %<%T(const %T&)%>", t, t);
cp/class.c-3044- if (! TYPE_HAS_ASSIGN_REF (t))
cp/class.c:3045: warning (0, " or %<operator=(const %T&)%>", t);
cp/class.c-3046- }
--
cp/class.c:3048: warning (0, " but does not override %<operator=(const %T&)%>", t);
cp/class.c-3049- }
--
cp/class.c:3504: warning (0, "offset of empty base %qT may not be ABI-compliant and may"
cp/class.c-3505- "change in a future version of GCC",
--
cp/class.c:3616: warning (0, "class %qT will be considered nearly empty in a "
cp/class.c-3617- "future version of GCC", t);
--
cp/class.c:4360: warning (0, "offset of virtual base %qT is not ABI-compliant and "
cp/class.c-4361- "may change in a future version of GCC",
--
cp/class.c:4459: warning (0, "direct base %qT inaccessible in %qT due to ambiguity",
cp/class.c-4460- basetype, t);
--
cp/class.c:4471: warning (0, "virtual base %qT inaccessible in %qT due to ambiguity",
cp/class.c-4472- basetype, t);
--
cp/class.c:4648: warning (0, "size assigned to %qT may not be "
cp/class.c-4649- "ABI-compliant and may change in a future "
--
cp/class.c:4687: warning (0, "the offset of %qD may not be ABI-compliant and may "
cp/class.c-4688- "change in a future version of GCC", field);
--
cp/class.c:4715: warning (0, "offset of %q+D is not ABI-compliant and may "
cp/class.c-4716- "change in a future version of GCC", field);
--
cp/class.c:4724: warning (0, "%q+D contains empty classes which may cause base "
cp/class.c-4725- "classes to be placed at different locations in a "
--
cp/class.c:4783: warning (0, "layout of classes derived from empty class %qT "
cp/class.c-4784- "may change in a future version of GCC",
--
cp/class.c:5079: warning (0, "%q#T has virtual functions but non-virtual destructor",
cp/class.c-5080- t);
--
cp/cp-gimplify.c:365: warning (0, "statement with no effect");
cp/cp-gimplify.c-366- }
--
cp/cvt.c:198: warning (0, "pointer to member cast from %qT to %qT is via"
cp/cvt.c-199- " virtual base", intype, type);
--
cp/cvt.c:517: warning (0, "casting %qT to %qT does not dereference pointer",
cp/cvt.c-518- intype, reftype);
--
cp/cvt.c:867: warning (0, "object of incomplete type %qT will not be accessed in %s",
cp/cvt.c-868- type, implicit ? implicit : "void context");
--
cp/cvt.c:870: warning (0, "object of type %qT will not be accessed in %s",
cp/cvt.c-871- TREE_TYPE (TREE_OPERAND (expr, 0)),
--
cp/cvt.c:886: warning (0, "object %qE of incomplete type %qT will not be accessed in %s",
cp/cvt.c-887- expr, type, implicit ? implicit : "void context");
--
cp/cvt.c:908: warning (0, "%s is a reference, not call, to function %qE",
cp/cvt.c-909- implicit, expr);
--
cp/cvt.c:922: warning (0, "%s has no effect", implicit);
cp/cvt.c-923- else
--
cp/cvt.c:954: warning (0, "value computed is not used");
cp/cvt.c-955- }
--
cp/cvt.c:1062: warning (0, "converting NULL to non-pointer type");
cp/cvt.c-1063-
--
cp/decl.c:362: warning (0, "label %q+D defined but not used", label);
cp/decl.c-363- }
--
cp/decl.c:556: warning (0, "unused variable %q+D", decl);
cp/decl.c-557-
--
cp/decl.c:1086: warning (OPT_Wattributes, "function %q+D redeclared as inline",
cp/decl.c-1087- newdecl);
cp/decl.c:1088: warning (OPT_Wattributes, "previous declaration of %q+D "
cp/decl.c-1089- "with attribute noinline", olddecl);
--
cp/decl.c:1095: warning (OPT_Wattributes, "function %q+D redeclared with "
cp/decl.c-1096- "attribute noinline", newdecl);
cp/decl.c:1097: warning (OPT_Wattributes, "previous declaration of %q+D was inline",
cp/decl.c-1098- olddecl);
--
cp/decl.c:1120: warning (0, "shadowing %s function %q#D",
cp/decl.c-1121- DECL_BUILT_IN (olddecl) ? "built-in" : "library",
--
cp/decl.c:1129: warning (0, "library function %q#D redeclared as non-function %q#D",
cp/decl.c-1130- olddecl, newdecl);
--
cp/decl.c:1188: warning (0, "new declaration %q#D", newdecl);
cp/decl.c:1189: warning (0, "ambiguates built-in declaration %q#D",
cp/decl.c-1190- olddecl);
--
cp/decl.c:1193: warning (0, "shadowing %s function %q#D",
cp/decl.c-1194- DECL_BUILT_IN (olddecl) ? "built-in" : "library",
--
cp/decl.c:1396: warning (0, "prototype for %q+#D", newdecl);
cp/decl.c:1397: warning (0, "%Jfollows non-prototype definition here", olddecl);
cp/decl.c-1398- }
--
cp/decl.c:1451: warning (0, "%q#D was used before it was declared inline", newdecl);
cp/decl.c:1452: warning (0, "%Jprevious non-inline declaration here", olddecl);
cp/decl.c-1453- }
--
cp/decl.c:1504: warning (0, "redundant redeclaration of %qD in same scope", newdecl);
cp/decl.c:1505: warning (0, "previous declaration of %q+D", olddecl);
cp/decl.c-1506- }
--
cp/decl.c:1835: warning (OPT_Wattributes, "%q+D: visibility attribute ignored "
cp/decl.c-1836- "because it", newdecl);
cp/decl.c:1837: warning (OPT_Wattributes, "%Jconflicts with previous "
cp/decl.c-1838- "declaration here", olddecl);
--
cp/decl.c:3584: warning (0, "attribute ignored in declaration of %q+#T", t);
cp/decl.c:3585: warning (0, "attribute for %q+#T must follow the %qs keyword",
cp/decl.c-3586- t, class_key_or_enum_as_string (t));
--
cp/decl.c:3717: warning (0, "declaration of %q#D has %<extern%> and is initialized",
cp/decl.c-3718- decl);
--
cp/decl.c:3739: warning (0, "inline function %q+D given attribute noinline", decl);
cp/decl.c-3740-
--
cp/decl.c:4068: constant_expression_warning (DECL_SIZE (decl));
cp/decl.c-4069- else
--
cp/decl.c:4125: warning (0, "sorry: semantics of inline function static "
cp/decl.c-4126- "data %q+#D are wrong (you'll wind up "
--
cp/decl.c:4128: warning (0, "%J you can work around this by removing "
cp/decl.c-4129- "the initializer",
--
cp/decl.c:4465: warning (OPT_Wmissing_braces, "missing braces around initializer for %qT",
cp/decl.c-4466- type);
--
cp/decl.c:4651: warning (0, "array %qD initialized by parenthesized string literal %qE",
cp/decl.c-4652- decl, DECL_INITIAL (decl));
--
cp/decl.c:4942: warning (0, "shadowing previous type declaration of %q#D", decl);
cp/decl.c-4943- set_identifier_type_value (DECL_NAME (decl), decl);
--
cp/decl.c:6139: warning (0, "non-local variable %q#D uses anonymous type",
cp/decl.c-6140- decl);
--
cp/decl.c:6142: warning (0, "%q+#D does not refer to the unqualified "
cp/decl.c-6143- "type, so it is not used for linkage",
--
cp/decl.c:6148: warning (0, "non-local variable %q#D uses local type %qT", decl, t);
cp/decl.c-6149- }
--
cp/decl.c:6333: constant_expression_warning (size);
cp/decl.c-6334- pedantic = old_pedantic;
--
cp/decl.c:6940: warning (0, "ISO C++ forbids declaration of %qs with no type", name);
cp/decl.c-6941-
--
cp/decl.c:7206: warning (0, "%qs initialized and declared %<extern%>", name);
cp/decl.c-7207- }
--
cp/decl.c:9004: warning (0, "conversion to %s%s will never use a type "
cp/decl.c-9005- "conversion operator",
--
cp/decl.c:9098: warning (0, "prefix %qD should return %qT", decl,
cp/decl.c-9099- build_reference_type (arg));
--
cp/decl.c:9104: warning (0, "postfix %qD should return %qT", decl, arg);
cp/decl.c-9105- }
--
cp/decl.c:9133: warning (0, "user-defined %qD always evaluates both arguments",
cp/decl.c-9134- decl);
--
cp/decl.c:9147: warning (0, "%qD should return by value", decl);
cp/decl.c-9148-
--
cp/decl.c:9961: constant_expression_warning (value);
cp/decl.c-9962- }
--
cp/decl.c:10141: warning (0, "inline function %q+D given attribute noinline", decl1);
cp/decl.c-10142-
--
cp/decl.c:10178: warning (0, "%<operator=%> should return a reference to %<*this%>");
cp/decl.c-10179-
--
cp/decl.c:10962: warning (0, "no return statement in function returning non-void");
cp/decl.c-10963-
--
cp/decl2.c:415: warning (0, "deleting array %q#D", exp);
cp/decl2.c-416-
--
cp/decl2.c:441: warning (0, "deleting %qT is undefined", type);
cp/decl2.c-442- doing_vec = 0;
--
cp/decl2.c:1021: constant_expression_warning (width);
cp/decl2.c-1022- DECL_INITIAL (value) = width;
--
cp/decl2.c:1149: warning (0, "anonymous union with no members");
cp/decl2.c-1150- return;
--
cp/decl2.c:3065: warning (0, "inline function %q+D used but never defined", decl);
cp/decl2.c-3066- /* Avoid a duplicate warning from check_global_declaration_1. */
--
cp/except.c:608: warning (0, "throwing NULL, which has integral, not pointer type");
cp/except.c-609-
--
cp/except.c:931: warning (0, "%Hexception of type %qT will be caught",
cp/except.c-932- EXPR_LOCUS (handler), TREE_TYPE (handler));
cp/except.c:933: warning (0, "%H by earlier handler for %qT",
cp/except.c-934- EXPR_LOCUS (master), type);
--
cp/friend.c:152: warning (0, "%qD is already a friend of class %qT",
cp/friend.c-153- decl, type);
--
cp/friend.c:364: warning (0, "%qD is already a friend of %qT", probe, type);
cp/friend.c-365- break;
--
cp/friend.c:373: warning (0, "%qT is already a friend of %qT", probe, type);
cp/friend.c-374- break;
--
cp/friend.c:553: warning (0, "friend declaration %q#D declares a non-template "
cp/friend.c-554- "function", decl);
--
cp/friend.c:557: warning (0, "(if this is not what you intended, make sure "
cp/friend.c-558- "the function template has already been declared "
--
cp/init.c:327: warning (0, "%J%qD should be initialized in the member initialization "
cp/init.c-328- "list", current_function_decl, member);
--
cp/init.c:375: warning (0, "%Jdefault-initialization of %q#D, "
cp/init.c-376- "which has reference type",
--
cp/init.c:527: warning (0, "%q+D will be initialized after",
cp/init.c-528- TREE_PURPOSE (next_subobject));
--
cp/init.c:530: warning (0, "base %qT will be initialized after",
cp/init.c-531- TREE_PURPOSE (next_subobject));
--
cp/init.c:533: warning (0, " %q+#D", subobject);
cp/init.c-534- else
cp/init.c:535: warning (0, " base %qT", subobject);
cp/init.c:536: warning (0, "%J when initialized here", current_function_decl);
cp/init.c-537- }
--
cp/init.c:684: warning (0, "%Jbase class %q#T should be explicitly initialized in the "
cp/init.c-685- "copy constructor",
--
cp/init.c:1690: warning (0, "zero size array reserves no space");
cp/init.c-1691- }
--
cp/init.c:2813: warning (0, "possible problem detected in invocation of "
cp/init.c-2814- "delete operator:");
--
cp/lex.c:468: warning (0, "junk at end of #pragma %s", name);
cp/lex.c-469- return result;
--
cp/lex.c:562: warning (0, "#pragma implementation for %qs appears after "
cp/lex.c-563- "file is included", filename);
--
cp/lex.c:587: warning (0, "junk at end of #pragma GCC java_exceptions");
cp/lex.c-588-
--
cp/mangle.c:2507: warning (0, "the mangled name of %qD will change in a future "
cp/mangle.c-2508- "version of GCC",
--
cp/method.c:1140: warning (0, "vtable layout for class %qT may not be ABI-compliant"
cp/method.c-1141- "and may change in a future version of GCC due to "
--
cp/name-lookup.c:908: warning (0, "extern declaration of %q#D doesn't match", x);
cp/name-lookup.c:909: warning (0, "global declaration %q+#D", oldglobal);
cp/name-lookup.c-910- }
--
cp/name-lookup.c:953: warning (0, "declaration of %q#D shadows a parameter", x);
cp/name-lookup.c:954: warning (0, "%Jshadowed declaration is here", oldlocal);
cp/name-lookup.c-955- }
--
cp/name-lookup.c:978: warning (0, "declaration of %qD shadows a member of 'this'",
cp/name-lookup.c-979- x);
--
cp/name-lookup.c:984: warning (0, "declaration of %qD shadows a previous local", x);
cp/name-lookup.c:985: warning (0, "%Jshadowed declaration is here", oldlocal);
cp/name-lookup.c-986- }
--
cp/name-lookup.c:991: warning (0, "declaration of %qD shadows a global declaration",
cp/name-lookup.c-992- x);
cp/name-lookup.c:993: warning (0, "%Jshadowed declaration is here", oldglobal);
cp/name-lookup.c-994- }
--
cp/name-lookup.c:1114: warning (0, "name lookup of %qD changed", DECL_NAME (decl));
cp/name-lookup.c:1115: warning (0, " matches this %q+D under ISO standard rules",
cp/name-lookup.c-1116- shadowed);
cp/name-lookup.c:1117: warning (0, " matches this %q+D under old rules", decl);
cp/name-lookup.c-1118- DECL_ERROR_REPORTED (decl) = 1;
--
cp/name-lookup.c:1885: warning (0, "%q#D hides constructor for %q#T", decl, t);
cp/name-lookup.c-1886- old = NULL_TREE;
--
cp/name-lookup.c:3301: warning (OPT_Wattributes, "%qD attribute directive ignored", name);
cp/name-lookup.c-3302- }
--
cp/parser.c:1875: warning (0, "minimum/maximum operators are deprecated");
cp/parser.c-1876-}
--
cp/parser.c:5413: warning (0, "use of old-style cast");
cp/parser.c-5414-
--
cp/parser.c:8317: warning (0, "keyword %<export%> not implemented, and will be ignored");
cp/parser.c-8318- }
--
cp/parser.c:10169: warning (OPT_Wattributes,
cp/parser.c-10170- "type attributes are honored only at type definition");
--
cp/parser.c:11049: warning (OPT_Wattributes,
cp/parser.c-11050- "attributes after parenthesized initializer ignored");
--
cp/parser.c:12370: warning (0, "deprecated use of default argument for parameter of non-function");
cp/parser.c-12371- else
--
cp/repo.c:113: warning (0, "-frepo must be used with -c");
cp/repo.c-114- flag_use_repository = 0;
--
cp/rtti.c:598: warning (0, "dynamic_cast of %q#D to %q#T can never succeed",
cp/rtti.c-599- old_expr, type);
--
cp/rtti.c:612: warning (0, "dynamic_cast of %q#D to %q#T can never succeed",
cp/rtti.c-613- op, type);
--
cp/search.c:1847: warning (0, "deprecated covariant return type for %q+#D",
cp/search.c-1848- overrider);
cp/search.c:1849: warning (0, " overriding %q+#D", basefn);
cp/search.c-1850- }
--
cp/semantics.c:2004: overflow_warning (result);
cp/semantics.c-2005- return result;
--
cp/tree.c:1812: warning (OPT_Wattributes, "%qE attribute can only be applied "
cp/tree.c-1813- "to class definitions", name);
--
cp/tree.c:1818: warning (0, "%qE is obsolete; g++ vtables are now COM-compatible by default",
cp/tree.c-1819- name);
--
cp/typeck.c:1502: warning (0, "deprecated conversion from string constant to %qT'", totype);
cp/typeck.c-1503-
--
cp/typeck.c:1720: warning (0, "invalid access to non-static data member %qD of NULL object",
cp/typeck.c-1721- member);
cp/typeck.c:1722: warning (0, "(perhaps the %<offsetof%> macro was used incorrectly)");
cp/typeck.c-1723- }
--
cp/typeck.c:2263: warning (0, "array subscript has type %<char%>");
cp/typeck.c-2264-
--
cp/typeck.c:2315: warning (0, "subscripting array declared %<register%>");
cp/typeck.c-2316- }
--
cp/typeck.c:2963: warning (0, "division by zero in %<%E / 0%>", op0);
cp/typeck.c-2964- else if (TREE_CODE (op1) == REAL_CST && real_zerop (op1))
cp/typeck.c:2965: warning (0, "division by zero in %<%E / 0.%>", op0);
cp/typeck.c-2966-
--
cp/typeck.c:3000: warning (0, "division by zero in %<%E %% 0%>", op0);
cp/typeck.c-3001- else if (code1 == REAL_TYPE && real_zerop (op1))
cp/typeck.c:3002: warning (0, "division by zero in %<%E %% 0.%>", op0);
cp/typeck.c-3003-
--
cp/typeck.c:3036: warning (0, "right shift count is negative");
cp/typeck.c-3037- else
--
cp/typeck.c:3042: warning (0, "right shift count >= width of type");
cp/typeck.c-3043- }
--
cp/typeck.c:3061: warning (0, "left shift count is negative");
cp/typeck.c-3062- else if (compare_tree_int (op1, TYPE_PRECISION (type0)) >= 0)
cp/typeck.c:3063: warning (0, "left shift count >= width of type");
cp/typeck.c-3064- }
--
cp/typeck.c:3082: warning (0, "%s rotate count is negative",
cp/typeck.c-3083- (code == LROTATE_EXPR) ? "left" : "right");
--
cp/typeck.c:3085: warning (0, "%s rotate count >= width of type",
cp/typeck.c-3086- (code == LROTATE_EXPR) ? "left" : "right");
--
cp/typeck.c:3098: warning (0, "comparing floating point with == or != is unsafe");
cp/typeck.c-3099-
--
cp/typeck.c:3441: warning (0, "comparison between types %q#T and %q#T",
cp/typeck.c-3442- TREE_TYPE (orig_op0), TREE_TYPE (orig_op1));
--
cp/typeck.c:3477: warning (0, "comparison between signed and unsigned integer expressions");
cp/typeck.c-3478-
--
cp/typeck.c:3521: warning (0, "comparison of promoted ~unsigned with constant");
cp/typeck.c-3522- }
--
cp/typeck.c:3529: warning (0, "comparison of promoted ~unsigned with unsigned");
cp/typeck.c-3530- }
--
cp/typeck.c:3556: warning (0, "NULL used in arithmetic");
cp/typeck.c-3557-
--
cp/typeck.c:3721: warning (0, "taking address of temporary");
cp/typeck.c-3722- exp = build_unary_op (ADDR_EXPR, xarg, 0);
--
cp/typeck.c:4977: warning (0, "casting %qT to %qT does not dereference pointer",
cp/typeck.c-4978- intype, type);
--
cp/typeck.c:5051: warning (0, "cast from %qT to %qT increases required alignment of "
cp/typeck.c-5052- "target type",
--
cp/typeck.c:5058: strict_aliasing_warning (intype, type, sexpr);
cp/typeck.c-5059-
--
cp/typeck.c:5070: warning (0, "ISO C++ forbids casting between pointer-to-function and pointer-to-object");
cp/typeck.c-5071- return fold_if_not_in_template (build_nop (type, expr));
--
cp/typeck.c:5727: warning (0, "pointer to member cast via virtual base %qT",
cp/typeck.c-5728- BINFO_TYPE (virt_binfo));
--
cp/typeck.c:5753: warning (0, "pointer to member cast via virtual base %qT",
cp/typeck.c-5754- BINFO_TYPE (virt_binfo));
--
cp/typeck.c:6086: warning (OPT_Wmissing_format_attribute,
cp/typeck.c-6087- "%s might be a candidate for a format attribute",
--
cp/typeck.c:6160: warning (0, "in passing argument %P of %q+D", parmnum, fndecl);
cp/typeck.c-6161- else if (errorcount > savee)
--
cp/typeck.c:6212: warning (0, "returning reference to temporary");
cp/typeck.c-6213- return;
--
cp/typeck.c:6219: warning (0, "reference to non-lvalue returned");
cp/typeck.c-6220- return;
--
cp/typeck.c:6231: warning (0, "reference to local variable %q+D returned",
cp/typeck.c-6232- whats_returned);
--
cp/typeck.c:6234: warning (0, "address of local variable %q+D returned",
cp/typeck.c-6235- whats_returned);
--
cp/typeck.c:6262: warning (0, "function declared %<noreturn%> has a %<return%> statement");
cp/typeck.c-6263-
--
cp/typeck.c:6354: warning (0, "%<operator new%> must not return NULL unless it is "
cp/typeck.c-6355- "declared %<throw()%> (or -fcheck-new is in effect)");
--
cp/typeck.c:6380: warning (0, "%<operator=%> should return a reference to %<*this%>");
cp/typeck.c-6381- }
--
cp/typeck2.c:933: warning (OPT_Wmissing_field_initializers,
cp/typeck2.c-934- "missing initializer for member %qD", field);
--
cp/typeck2.c:947: warning (OPT_Wmissing_field_initializers,
cp/typeck2.c-948- "missing initializer for member %qD", field);
Fortran
fortran/arith.c:602: gfc_warning (gfc_arith_error (val), &x->where);
fortran/arith.c-603- val = ARITH_OK;
--
fortran/arith.c:608: gfc_warning (gfc_arith_error (val), &x->where);
fortran/arith.c-609- val = ARITH_OK;
--
fortran/arith.c:1973: gfc_warning (gfc_arith_error (rc), &src->where);
fortran/arith.c-1974- }
--
fortran/arith.c:2075: gfc_warning (gfc_arith_error (rc), &src->where);
fortran/arith.c-2076- mpfr_set_ui (result->value.real, 0, GFC_RND_MODE);
--
fortran/arith.c:2107: gfc_warning (gfc_arith_error (rc), &src->where);
fortran/arith.c-2108- mpfr_set_ui (result->value.complex.r, 0, GFC_RND_MODE);
--
fortran/arith.c:2162: gfc_warning (gfc_arith_error (rc), &src->where);
fortran/arith.c-2163- mpfr_set_ui (result->value.real, 0, GFC_RND_MODE);
--
fortran/arith.c:2194: gfc_warning (gfc_arith_error (rc), &src->where);
fortran/arith.c-2195- mpfr_set_ui (result->value.complex.r, 0, GFC_RND_MODE);
--
fortran/arith.c:2209: gfc_warning (gfc_arith_error (rc), &src->where);
fortran/arith.c-2210- mpfr_set_ui (result->value.complex.i, 0, GFC_RND_MODE);
--
fortran/arith.c:2277: gfc_warning ("The Hollerith constant at %L is too long to convert to %s",
fortran/arith.c-2278- &src->where, gfc_typename(&result->ts));
--
fortran/arith.c:2312: gfc_warning ("The Hollerith constant at %L is too long to convert to %s",
fortran/arith.c-2313- &src->where, gfc_typename(&result->ts));
--
fortran/arith.c:2349: gfc_warning ("The Hollerith constant at %L is too long to convert to %s",
fortran/arith.c-2350- &src->where, gfc_typename(&result->ts));
--
fortran/arith.c:2399: gfc_warning ("The Hollerith constant at %L is too long to convert to %s",
fortran/arith.c-2400- &src->where, gfc_typename(&result->ts));
--
fortran/decl.c:3324: gfc_warning ("Cray pointer at %C has %d bytes of precision;"
fortran/decl.c-3325- " memory addresses require %d bytes.",
--
fortran/error.c:465:gfc_warning (const char *nocmsgid, ...)
fortran/error.c-466-{
--
fortran/error.c:545:/* Immediate warning (i.e. do not buffer the warning). */
fortran/error.c-546-
--
fortran/error.c:572:gfc_clear_warning (void)
fortran/error.c-573-{
--
fortran/expr.c:1945: gfc_warning ("POINTER valued function appears on right-hand side of "
fortran/expr.c-1946- "assignment at %L", &rvalue->where);
--
fortran/interface.c:1494: gfc_warning ("Same actual argument associated with INTENT(%s) "
fortran/interface.c-1495- "argument '%s' and INTENT(%s) argument '%s' at %L",
--
fortran/interface.c:1577: gfc_warning ("Procedure '%s' called with an implicit interface at %L",
fortran/interface.c-1578- sym->name, where);
--
fortran/io.c:809: gfc_warning ("%s in format string at %C", error);
fortran/io.c-810-
--
fortran/parse.c:102: gfc_clear_warning (); /* Clear any pending warnings. */
fortran/parse.c-103-
--
fortran/parse.c:468: gfc_warning ("Statement label in blank line will be " "ignored at %C");
fortran/parse.c-469- gfc_advance_line ();
--
fortran/parse.c:1076: gfc_clear_warning ();
fortran/parse.c-1077- undo_new_statement ();
--
fortran/parse.c:1335: gfc_warning ("SEQUENCE attribute at %C already specified in "
fortran/parse.c-1336- "TYPE statement");
--
fortran/primary.c:619: gfc_warning ("Real constant underflows its kind at %C");
fortran/primary.c-620- mpfr_set_ui (e->value.real, 0, GFC_RND_MODE);
--
fortran/resolve.c:2061: gfc_warning ("Array reference at %L is out of bounds", &ar->c_where[i]);
fortran/resolve.c-2062- return SUCCESS;
--
fortran/resolve.c:3449: gfc_warning ("Range specification at %L can never "
fortran/resolve.c-3450- "be matched", &cp->where);
--
fortran/resolve.c:3552: gfc_warning ("Logical SELECT CASE block at %L has more that two cases",
fortran/resolve.c-3553- &code->loc);
--
fortran/resolve.c:3649: gfc_warning ("Branch at %L causes an infinite loop", &code->loc);
fortran/resolve.c-3650- return;
--
fortran/resolve.c:5569: gfc_warning ("Label %d at %L defined but not used", l->value,
fortran/resolve.c-5570- &l->where);
--
fortran/resolve.c:5574: gfc_warning ("Label %d at %L defined but cannot be used", l->value,
fortran/resolve.c-5575- &l->where);
--
fortran/scanner.c:536: gfc_warning ("Missing '&' in continued character constant at %C");
fortran/scanner.c-537-
--
fortran/trans-common.c:360: gfc_warning ("Named COMMON block '%s' at %L shall be of the "
fortran/trans-common.c-361- "same size", com->name, &com->where);
--
fortran/trans-common.c:930: gfc_warning ("Padding of %d bytes required before '%s' in "
fortran/trans-common.c-931- "COMMON '%s' at %L", (int)offset, s->sym->name,
--
fortran/trans-common.c:956: gfc_warning ("COMMON '%s' at %L requires %d bytes of padding at start",
fortran/trans-common.c-957- common->name, &common->where, (int)common_segment->offset);
--
fortran/trans-decl.c:2291: warning (0, "Function does not return a value");
fortran/trans-decl.c-2292- }
--
fortran/trans-decl.c:2502: warning (0, "unused parameter %qs", sym->name);
fortran/trans-decl.c-2503- /* Warn for unused variables, but not if they're inside a common
--
fortran/trans-decl.c:2507: warning (0, "unused variable %qs", sym->name);
fortran/trans-decl.c-2508- }
--
fortran/trans-decl.c:2727: warning (0, "Function return value not set");
fortran/trans-decl.c-2728- else
--
fortran/trans-stmt.c:319: gfc_warning ("An alternate return at %L without a * dummy argument",
fortran/trans-stmt.c-320- &code->expr->where);
Java
java/class.c:810: warning (OPT_Wattributes,
java/class.c-811- "misplaced ConstantValue attribute (not in any field)");
--
java/class.c:813: warning (OPT_Wattributes,
java/class.c-814- "duplicate ConstantValue attribute for field '%s'",
--
java/class.c:1453: warning (0, "%Jabstract method in non-abstract class", method);
java/class.c-1454-
--
java/decl.c:1402: warning (0, warnstring, IDENTIFIER_POINTER (name));
java/decl.c-1403- }
--
java/decl.c:1705: warning (0, "label %q+D defined but not used", label);
java/decl.c-1706- IDENTIFIER_LABEL_VALUE (DECL_NAME (label)) = 0;
--
java/decl.c:1833: warning (0, "In %+D: overlapped variable and exception ranges at %d",
java/decl.c-1834- current_function_decl,
--
java/decl.c:1896: warning (0, "bad type in parameter debug info");
java/decl.c-1897- }
--
java/decl.c:1905: warning (0, "bad PC range for debug info for local %q+D",
java/decl.c-1906- decl);
--
java/expr.c:373: warning (0, "need to insert runtime check for %s",
java/expr.c-374- xstrdup (lang_printable_name (type, 0)));
--
java/expr.c:502: warning (0, "assert: %s is assign compatible with %s",
java/expr.c-503- xstrdup (lang_printable_name (target_type, 0)),
--
java/expr.c:549: warning (0, "assert: %s is assign compatible with %s",
java/expr.c-550- xstrdup (lang_printable_name (target_type, 0)),
--
java/expr.c:2740: warning (0, "assignment to final static field %q+D not in "
java/expr.c-2741- "class initializer",
--
java/expr.c:2749: warning (0, "assignment to final field %q+D not in constructor",
java/expr.c-2750- field_decl);
--
java/expr.c:2939: warning (0, "invalid PC in line number table");
java/expr.c-2940- else
--
java/expr.c:2987: warning (0, "unreachable bytecode from %d to before %d",
java/expr.c-2988- dead_code_index, PC);
--
java/expr.c:3029: warning (0, "unreachable bytecode from %d to the end of the method",
java/expr.c-3030- dead_code_index);
--
java/jcf-io.c:550: warning (0, "source file for class %qs is newer than its matching class file. Source file %qs used instead", classname, java_buffer);
java/jcf-io.c-551- class = -1;
--
java/jcf-parse.c:730: warning (0, "cannot find file for class %s",
java/jcf-parse.c-731- IDENTIFIER_POINTER (saved));
--
java/jcf-parse.c:836:duplicate_class_warning (const char *filename)
java/jcf-parse.c-837-{
--
java/jcf-parse.c:846: warning (0, "%Hduplicate class will only be compiled once", &warn_loc);
java/jcf-parse.c-847-}
--
java/jcf-parse.c:1166: duplicate_class_warning (IDENTIFIER_POINTER (node));
java/jcf-parse.c-1167- else
--
java/jcf-parse.c:1182: warning (0, "no input file specified");
java/jcf-parse.c-1183-
--
java/jcf-parse.c:1247: duplicate_class_warning (filename);
java/jcf-parse.c-1248- continue;
--
java/jcf-parse.c:1418: duplicate_class_warning (current_jcf->filename);
java/jcf-parse.c-1419- break;
--
java/jv-scan.c:45:void warning (int opt, const char *gmsgid, ...) ATTRIBUTE_PRINTF_2;
java/jv-scan.c-46-void warning0 (const char *gmsgid, ...) ATTRIBUTE_PRINTF_1;
--
java/jv-scan.c:265:warning (int opt ATTRIBUTE_UNUSED, const char *gmsgid, ...)
java/jv-scan.c-266-{
--
java/parse.c:6779: warning (0, "%s.\n%s", msgid, remainder);
java/parse.c-6780- else
Objective C
objc/objc-act.c:710: warning (0, "%<@end%> must appear in an @implementation context"); objc/objc-act.c-711-} -- objc/objc-act.c:998: warning (0, errbuf); objc/objc-act.c-999- } -- objc/objc-act.c:1174: warning (0, "comparison of distinct Objective-C types lacks a cast"); objc/objc-act.c-1175- break; -- objc/objc-act.c:1178: warning (0, "initialization from distinct Objective-C type"); objc/objc-act.c-1179- break; -- objc/objc-act.c:1182: warning (0, "assignment from distinct Objective-C type"); objc/objc-act.c-1183- break; -- objc/objc-act.c:1186: warning (0, "distinct Objective-C type in return"); objc/objc-act.c-1187- break; -- objc/objc-act.c:1190: warning (0, "passing argument %d of %qE from distinct " objc/objc-act.c-1191- "Objective-C type", argno, callee); -- objc/objc-act.c:2539: warning (0, "%Hcreating selector for nonexistent method %qE", objc/objc-act.c-2540- loc, TREE_VALUE (chain)); -- objc/objc-act.c:2872: warning (0, "cannot find class %qs", IDENTIFIER_POINTER (class_ident)); objc/objc-act.c-2873- else if (objc_is_class_name (alias_ident)) objc/objc-act.c:2874: warning (0, "class %qs already exists", IDENTIFIER_POINTER (alias_ident)); objc/objc-act.c-2875- else -- objc/objc-act.c:3192: warning (0, "strong-cast assignment has been intercepted"); objc/objc-act.c-3193- -- objc/objc-act.c:3234: warning (0, "strong-cast may possibly be needed"); objc/objc-act.c-3235- } -- objc/objc-act.c:3244: warning (0, "instance variable assignment has been intercepted"); objc/objc-act.c-3245- -- objc/objc-act.c:3263: warning (0, "pointer arithmetic for garbage-collected objects not allowed"); objc/objc-act.c-3264- -- objc/objc-act.c:3269: warning (0, "global/static variable assignment has been intercepted"); objc/objc-act.c-3270- -- objc/objc-act.c:3452: warning (0, "use %<-fobjc-exceptions%> to enable Objective-C " objc/objc-act.c-3453- "exception syntax"); -- objc/objc-act.c:3810: warning (0, "exception of type %<%T%> will be caught", objc/objc-act.c-3811- TREE_TYPE (type)); objc/objc-act.c:3812: warning (0, "%H by earlier handler for %<%T%>", objc/objc-act.c-3813- EXPR_LOCUS (stmt), TREE_TYPE (t ? t : objc_object_type)); -- objc/objc-act.c:6066: warning (0, "multiple %s named %<%c%s%> found", objc/objc-act.c-6067- methods ? "methods" : "selectors", -- objc/objc-act.c:6333: warning (0, "found %<-%s%> instead of %<+%s%> in protocol(s)", objc/objc-act.c-6334- IDENTIFIER_POINTER (sel_name), -- objc/objc-act.c:6392: warning (0, "invalid receiver type %qs", objc/objc-act.c-6393- gen_type_name (orig_rtype)); -- objc/objc-act.c:6407: warning (0, "%<%c%s%> not found in protocol(s)", objc/objc-act.c-6408- (class_tree ? '+' : '-'), -- objc/objc-act.c:6421: warning (0, "%qs may not respond to %<%c%s%>", objc/objc-act.c-6422- IDENTIFIER_POINTER (OBJC_TYPE_NAME (rtype)), -- objc/objc-act.c:6429: warning (0, "no %<%c%s%> method found", objc/objc-act.c-6430- (class_tree ? '+' : '-'), -- objc/objc-act.c:6435: warning (0, "(Messages without a matching method signature"); objc/objc-act.c:6436: warning (0, "will be assumed to return %<id%> and accept"); objc/objc-act.c:6437: warning (0, "%<...%> as arguments.)"); objc/objc-act.c-6438- warn_missing_methods = true; -- objc/objc-act.c:6670: warning (0, "undeclared selector %qs", IDENTIFIER_POINTER (selname)); objc/objc-act.c-6671- } -- objc/objc-act.c:6712: warning (0, "instance variable %qs accessed in class method", objc/objc-act.c-6713- IDENTIFIER_POINTER (id)); -- objc/objc-act.c:7005: warning (0, "duplicate interface declaration for category %<%s(%s)%>", objc/objc-act.c-7006- IDENTIFIER_POINTER (CLASS_NAME (class)), -- objc/objc-act.c:7068: warning (0, "type %qs has no default constructor to call", objc/objc-act.c-7069- type_name); -- objc/objc-act.c:7074: warning (0, "destructor for %qs shall not be run either", objc/objc-act.c-7075- type_name); -- objc/objc-act.c:7097: warning (0, "type %qs has a user-defined constructor", type_name); objc/objc-act.c-7098- if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (field_type)) objc/objc-act.c:7099: warning (0, "type %qs has a user-defined destructor", type_name); objc/objc-act.c-7100- -- objc/objc-act.c:7103: warning (0, "C++ constructors and destructors will not " objc/objc-act.c-7104- "be invoked for Objective-C fields"); -- objc/objc-act.c:7223: warning (0, "instance variable %qs is %s; " objc/objc-act.c-7224- "this will be a hard error in the future", -- objc/objc-act.c:7256: warning (0, "incomplete implementation of class %qs", objc/objc-act.c-7257- IDENTIFIER_POINTER (CLASS_NAME (objc_implementation_context))); -- objc/objc-act.c:7260: warning (0, "incomplete implementation of category %qs", objc/objc-act.c-7261- IDENTIFIER_POINTER (CLASS_SUPER_NAME (objc_implementation_context))); -- objc/objc-act.c:7265: warning (0, "method definition for %<%c%s%> not found", objc/objc-act.c-7266- mtype, IDENTIFIER_POINTER (METHOD_SEL_NAME (chain))); -- objc/objc-act.c:7344: warning (0, "incomplete implementation of class %qs", objc/objc-act.c-7345- IDENTIFIER_POINTER -- objc/objc-act.c:7349: warning (0, "incomplete implementation of category %qs", objc/objc-act.c-7350- IDENTIFIER_POINTER -- objc/objc-act.c:7354: warning (0, "method definition for %<%c%s%> not found", objc/objc-act.c-7355- mtype, IDENTIFIER_POINTER (METHOD_SEL_NAME (chain))); -- objc/objc-act.c:7395: warning (0, "%s %qs does not fully implement the %qs protocol", objc/objc-act.c-7396- type, name, IDENTIFIER_POINTER (PROTOCOL_NAME (p))); -- objc/objc-act.c:7453: warning (0, "%<@end%> missing in implementation context"); objc/objc-act.c-7454- finish_class (objc_implementation_context); -- objc/objc-act.c:7519: warning (0, "cannot find interface declaration for %qs", objc/objc-act.c-7520- IDENTIFIER_POINTER (class_name)); -- objc/objc-act.c:7552: warning (0, "duplicate interface declaration for class %qs", objc/objc-act.c-7553-#endif -- objc/objc-act.c:7806: warning (0, "duplicate declaration for protocol %qs", objc/objc-act.c-7807- IDENTIFIER_POINTER (name)); -- objc/objc-act.c:8364: warning (0, "%J%s %<%c%s%>", method, objc/objc-act.c-8365- message, mtype, gen_method_decl (method)); -- objc/objc-act.c:8783: warning (0, "method possibly missing a [super dealloc] call"); objc/objc-act.c-8784-} -- objc/objc-act.c:9121: warning (0, "%<@end%> missing in implementation context"); objc/objc-act.c-9122- finish_class (objc_implementation_context); -- objc/objc-act.c:9411: warning (0, "local declaration of %qs hides instance variable", objc/objc-act.c-9412- IDENTIFIER_POINTER (id));
Machine-dependend
config/darwin-c.c:116: warning (0, "junk at end of '#pragma options'");
config/darwin-c.c-117-
--
config/darwin-c.c:126: warning (0, "malformed '#pragma options align={mac68k|power|reset}', ignoring");
config/darwin-c.c-127-}
--
config/darwin-c.c:159: warning (0, "junk at end of '#pragma unused'");
config/darwin-c.c-160-}
--
config/darwin-c.c:385: warning (0, "subframework include %s conflicts with framework include",
config/darwin-c.c-386- fname);
--
config/darwin.c:1236: warning (OPT_Wattributes, "%qs attribute ignored",
config/darwin.c-1237- IDENTIFIER_POINTER (name));
--
config/darwin.c:1350: warning (OPT_Wattributes, "internal and protected visibility attributes "
config/darwin.c-1351- "not supported in this configuration; ignored");
--
config/sol2-c.c:94: warning (0, "malformed %<#pragma align%>, ignoring");
config/sol2-c.c-95- return;
--
config/sol2-c.c:103: warning (0, "invalid alignment for %<#pragma align%>, ignoring");
config/sol2-c.c-104- return;
--
config/sol2-c.c:110: warning (0, "malformed %<#pragma align%>, ignoring");
config/sol2-c.c-111- return;
--
config/sol2-c.c:118: warning (0, "%<#pragma align%> must appear before the declaration of "
config/sol2-c.c-119- "%D, ignoring", decl);
--
config/sol2-c.c:130: warning (0, "malformed %<#pragma align%>");
config/sol2-c.c-131- return;
--
config/sol2-c.c:137: warning (0, "junk at end of %<#pragma align%>");
config/sol2-c.c-138- return;
--
config/sol2-c.c:142: warning (0, "malformed %<#pragma align%>");
config/sol2-c.c-143- return;
--
config/sol2-c.c:158: warning (0, "malformed %<#pragma init%>, ignoring");
config/sol2-c.c-159- return;
--
config/sol2-c.c:165: warning (0, "malformed %<#pragma init%>, ignoring");
config/sol2-c.c-166- return;
--
config/sol2-c.c:188: warning (0, "malformed %<#pragma init%>");
config/sol2-c.c-189- return;
--
config/sol2-c.c:195: warning (0, "junk at end of %<#pragma init%>");
config/sol2-c.c-196- return;
--
config/sol2-c.c:200: warning (0, "malformed %<#pragma init%>");
config/sol2-c.c-201- return;
--
config/sol2-c.c:216: warning (0, "malformed %<#pragma fini%>, ignoring");
config/sol2-c.c-217- return;
--
config/sol2-c.c:223: warning (0, "malformed %<#pragma fini%>, ignoring");
config/sol2-c.c-224- return;
--
config/sol2-c.c:246: warning (0, "malformed %<#pragma fini%>");
config/sol2-c.c-247- return;
--
config/sol2-c.c:253: warning (0, "junk at end of %<#pragma fini%>");
config/sol2-c.c-254- return;
--
config/sol2-c.c:258: warning (0, "malformed %<#pragma fini%>");
config/sol2-c.c-259- return;
--
config/sol2.c:54: warning (0, "ignoring %<#pragma align%> for explicitly "
config/sol2.c-55- "aligned %q+D", decl);
Miscellaneous
attribs.c:175: warning (OPT_Wattributes, "%qs attribute directive ignored",
attribs.c-176- IDENTIFIER_POINTER (name));
--
attribs.c:200: warning (OPT_Wattributes, "%qs attribute does not apply to types",
attribs.c-201- IDENTIFIER_POINTER (name));
--
attribs.c:246: warning (OPT_Wattributes,
attribs.c-247- "%qs attribute only applies to function types",
--
bt-load.c:1504: warning (0, "branch target register load optimization is not intended "
bt-load.c-1505- "to be run twice");
--
builtins.c:194:static void maybe_emit_chk_warning (tree, enum built_in_function);
builtins.c:195:static void maybe_emit_sprintf_chk_warning (tree, enum built_in_function);
builtins.c-196-static tree fold_builtin_object_size (tree);
--
builtins.c:389: warning (0, "offset outside bounds of constant string");
builtins.c-390- return 0;
--
builtins.c:996: warning (0, "invalid second argument to %<__builtin_prefetch%>;"
builtins.c-997- " using zero");
--
builtins.c:1011: warning (0, "invalid third argument to %<__builtin_prefetch%>; using zero");
builtins.c-1012- op2 = const0_rtx;
--
builtins.c:4410: warning (0, "%qT is promoted to %qT when passed through %<...%>",
builtins.c-4411- type, promoted_type);
--
builtins.c:4415: warning (0, "(so you should pass %qT not %qT to %<va_arg%>)",
builtins.c-4416- promoted_type, type);
--
builtins.c:4555: warning (0, "unsupported argument to %<__builtin_frame_address%>");
builtins.c-4556- else
builtins.c:4557: warning (0, "unsupported argument to %<__builtin_return_address%>");
builtins.c-4558- return const0_rtx;
--
builtins.c:6474: maybe_emit_chk_warning (exp, fcode);
builtins.c-6475- break;
--
builtins.c:6479: maybe_emit_sprintf_chk_warning (exp, fcode);
builtins.c-6480- break;
--
builtins.c:9772: warning (0, "%<__builtin_next_arg%> called without an argument");
builtins.c-9773- return true;
--
builtins.c:9807: warning (0, "second parameter of %<va_start%> not last named argument");
builtins.c-9808- }
--
builtins.c:9978: warning (0, "%Hcall to %D will always overflow destination buffer",
builtins.c-9979- &locus, get_callee_fndecl (exp));
--
builtins.c:10073:maybe_emit_chk_warning (tree exp, enum built_in_function fcode)
builtins.c-10074-{
--
builtins.c:10131: warning (0, "%Hcall to %D will always overflow destination buffer",
builtins.c-10132- &locus, get_callee_fndecl (exp));
--
builtins.c:10139:maybe_emit_sprintf_chk_warning (tree exp, enum built_in_function fcode)
builtins.c-10140-{
--
builtins.c:10199: warning (0, "%Hcall to %D will always overflow destination buffer",
builtins.c-10200- &locus, get_callee_fndecl (exp));
--
calls.c:1929: warning (OPT_Waggregate_return, "function call has aggregate value");
calls.c-1930-
--
cfgexpand.c:1597: warning (0, "not protecting local variables: variable length buffer");
cfgexpand.c-1598- if (has_short_buffer && !cfun->stack_protect_guard)
cfgexpand.c:1599: warning (0, "not protecting function: no buffer at least %d bytes long",
cfgexpand.c-1600- (int) PARAM_VALUE (PARAM_SSP_BUFFER_SIZE));
--
cgraph.c:763: warning (0, "%D renamed after being referenced in assembly", decl);
cgraph.c-764-
--
coverage.c:183: warning (0, "%qs is not a gcov data file", da_file_name);
coverage.c-184- gcov_close ();
--
coverage.c:194: warning (0, "%qs is version %q.*s, expected version %q.*s",
coverage.c-195- da_file_name, 4, v, 4, e);
--
coverage.c:348: warning (0, "no coverage for function %qs found", IDENTIFIER_POINTER
coverage.c-349- (DECL_ASSEMBLER_NAME (current_function_decl)));
--
coverage.c:564: warning (0, "error writing %qs", bbg_file_name);
coverage.c-565- bbg_file_opened = -1;
--
diagnostic.c:444:warning (int opt, const char *gmsgid, ...)
diagnostic.c-445-{
--
emit-rtl.c:3337: warning (0, "ICE: emit_insn used where emit_jump_insn needed:\n");
emit-rtl.c-3338- debug_rtx (insn);
--
errors.c:45:warning (int opt ATTRIBUTE_UNUSED, const char *format, ...)
errors.c-46-{
--
flow.c:4607: setjmp_vars_warning (DECL_INITIAL (current_function_decl));
flow.c:4608: setjmp_args_warning ();
flow.c-4609- }
--
fold-const.c:3331: warning (0, "comparison is always %d due to width of bit-field",
fold-const.c-3332- code == NE_EXPR);
--
fold-const.c:3342: warning (0, "comparison is always %d due to width of bit-field",
fold-const.c-3343- code == NE_EXPR);
--
fold-const.c:4943: warning (0, "comparison is always %d", wanted_code == NE_EXPR);
fold-const.c-4944-
--
fold-const.c:4958: warning (0, "comparison is always %d", wanted_code == NE_EXPR);
fold-const.c-4959-
--
fold-const.c:5087: warning (0, "%<or%> of unmatched not-equal tests is always 1");
fold-const.c-5088- return constant_boolean_node (true, truth_type);
--
fold-const.c:5092: warning (0, "%<and%> of mutually exclusive equal-tests is always 0");
fold-const.c-5093- return constant_boolean_node (false, truth_type);
--
function.c:3496:setjmp_vars_warning (tree block)
function.c-3497-{
--
function.c:3506: warning (0, "variable %q+D might be clobbered by %<longjmp%>"
function.c-3507- " or %<vfork%>",
--
function.c:3512: setjmp_vars_warning (sub);
function.c-3513-}
--
function.c:3519:setjmp_args_warning (void)
function.c-3520-{
--
function.c:3527: warning (0, "argument %q+D might be clobbered by %<longjmp%> or %<vfork%>",
function.c-3528- decl);
--
function.c:3922: warning (OPT_Waggregate_return, "function returns an aggregate");
function.c-3923-}
--
function.c:4314: warning (OPT_Wunused_parameter, "unused parameter %q+D", decl);
function.c-4315-}
--
gcse.c:6586: warning (OPT_Wdisabled_optimization,
gcse.c-6587- "%s: %d basic blocks and %d edges/basic block",
--
gcse.c:6599: warning (OPT_Wdisabled_optimization,
gcse.c-6600- "%s: %d basic blocks and %d registers",
--
genautomata.c:2830: warning (0, "repeated declaration of automaton `%s'",
genautomata.c-2831- DECL_AUTOMATON (decl)->name);
--
genautomata.c:3060: warning (0, "automaton `%s' is not used",
genautomata.c-3061- DECL_AUTOMATON (decl)->name);
--
genautomata.c:3174: warning (0, "unit `%s' is not used", DECL_UNIT (decl)->name);
genautomata.c-3175- }
--
genautomata.c:3181: warning (0, "reservation `%s' is not used", DECL_RESERV (decl)->name);
genautomata.c-3182- }
--
genautomata.c:9832: warning (0, "Insn `%s' will never be issued",
genautomata.c-9833- reserv_ainsn->insn_reserv_decl->name);
--
haifa-sched.c:182: warning (0, "fix_sched_param: unknown param: %s", param);
haifa-sched.c-183-}
--
loop-iv.c:2711: warning (OPT_Wunsafe_loop_optimizations, "%s",
loop-iv.c-2712- gettext (wording));
--
loop-iv.c:2720: warning (OPT_Wunsafe_loop_optimizations, "%s",
loop-iv.c-2721- gettext (wording));
--
opts.c:261: warning (0, "command line option \"%s\" is valid for %s but not for %s",
opts.c-262- text, ok_langs, bad_lang);
--
opts.c:669: warning (OPT_Wuninitialized,
opts.c-670- "-Wuninitialized is not supported without -O");
--
opts.c:1008: warning (0, "unknown tls-model \"%s\"", arg);
opts.c-1009- break;
--
opts.c:1058: warning (0, "-f[no-]force-mem is nop and option will be removed in 4.2");
opts.c-1059- break;
--
opts.c:1183: warning (0, "target system does not support debug output");
opts.c-1184- }
--
regclass.c:781: warning (0, "unknown register name: %s", name);
regclass.c-782- }
--
regclass.c:795: warning (0, "register used for two global register variables");
regclass.c-796- return;
--
regclass.c:800: warning (0, "call-clobbered register used for global register variable");
regclass.c-801-
--
reload1.c:1235: warning (0, "frame size too large for reliable stack checking");
reload1.c-1236- if (! verbose_warned)
--
reload1.c:1238: warning (0, "try reducing the number of local variables");
reload1.c-1239- verbose_warned = 1;
--
stmt.c:332: warning (0, "output constraint %qc for operand %d "
stmt.c-333- "is not at the beginning",
--
stmt.c:556: warning (0, "matching constraint does not allow a register");
stmt.c-557-
--
stmt.c:900: warning (0, "asm operand %d probably doesn%'t match constraints",
stmt.c-901- i + noutputs);
--
stmt.c:910: warning (0, "use of memory input without lvalue in "
stmt.c-911- "asm operand %d is deprecated", i + noutputs);
--
stmt.c:1474: warning (0, "%Hvalue computed is not used", &locus);
stmt.c-1475- return 1;
--
stor-layout.c:462: warning (0, "size of %q+D is %d bytes", decl, size_as_int);
stor-layout.c-463- else
stor-layout.c:464: warning (0, "size of %q+D is larger than %wd bytes",
stor-layout.c-465- decl, larger_than_size);
--
stor-layout.c:890: warning (OPT_Wattributes, "packed attribute causes "
stor-layout.c-891- "inefficient alignment for %q+D", field);
--
stor-layout.c:893: warning (OPT_Wattributes, "packed attribute is "
stor-layout.c-894- "unnecessary for %q+D", field);
--
stor-layout.c:908: warning (OPT_Wpadded, "padding struct to align %q+D", field);
stor-layout.c-909-
--
stor-layout.c:1311: warning (OPT_Wpadded, "padding struct size to alignment boundary");
stor-layout.c-1312-
--
stor-layout.c:1341: warning (OPT_Wpacked, "packed attribute causes inefficient "
stor-layout.c-1342- "alignment for %qs", name);
--
stor-layout.c:1344: warning (OPT_Wpacked,
stor-layout.c-1345- "packed attribute is unnecessary for %qs", name);
--
stor-layout.c:1350: warning (OPT_Wpacked,
stor-layout.c-1351- "packed attribute causes inefficient alignment");
--
stor-layout.c:1353: warning (OPT_Wpacked, "packed attribute is unnecessary");
stor-layout.c-1354- }
--
toplev.c:824: warning (0, "%q+F declared %<static%> but never defined", decl);
toplev.c-825- /* This symbol is effectively an "extern" declaration now. */
--
toplev.c:849: warning (0, "%q+D defined but not used", decl);
toplev.c-850-}
--
toplev.c:891: warning (OPT_Wdeprecated_declarations,
toplev.c-892- "%qs is deprecated (declared at %s:%d)",
--
toplev.c:915: warning (OPT_Wdeprecated_declarations,
toplev.c-916- "%qs is deprecated (declared at %s:%d)", what,
--
toplev.c:919: warning (OPT_Wdeprecated_declarations,
toplev.c-920- "type is deprecated (declared at %s:%d)",
--
toplev.c:926: warning (OPT_Wdeprecated_declarations, "%qs is deprecated", what);
toplev.c-927- else
toplev.c:928: warning (OPT_Wdeprecated_declarations, "type is deprecated");
toplev.c-929- }
--
toplev.c:1095: warning (0, "unrecognized gcc debugging option: %c", c);
toplev.c-1096- break;
--
toplev.c:1592: warning (0, "instruction scheduling not supported on this target machine");
toplev.c-1593-#endif
--
toplev.c:1596: warning (0, "this target machine does not have delayed branches");
toplev.c-1597-#endif
--
toplev.c:1610: warning (0, "-f%sleading-underscore not supported on this target machine",
toplev.c-1611- flag_leading_underscore ? "" : "no-");
--
toplev.c:1695: warning (0, "variable tracking requested, but useless unless "
toplev.c-1696- "producing debug info");
--
toplev.c:1698: warning (0, "variable tracking requested, but not supported "
toplev.c-1699- "by this debug format");
--
toplev.c:1725: warning (0, "-ffunction-sections not supported for this target");
toplev.c-1726- flag_function_sections = 0;
--
toplev.c:1730: warning (0, "-fdata-sections not supported for this target");
toplev.c-1731- flag_data_sections = 0;
--
toplev.c:1737: warning (0, "-ffunction-sections disabled; it makes profiling impossible");
toplev.c-1738- flag_function_sections = 0;
--
toplev.c:1744: warning (0, "-fprefetch-loop-arrays not supported for this target");
toplev.c-1745- flag_prefetch_loop_arrays = 0;
--
toplev.c:1750: warning (0, "-fprefetch-loop-arrays not supported for this target (try -march switches)");
toplev.c-1751- flag_prefetch_loop_arrays = 0;
--
toplev.c:1759: warning (0, "-fprefetch-loop-arrays is not supported with -Os");
toplev.c-1760- flag_prefetch_loop_arrays = 0;
--
toplev.c:1765: warning (0, "-ffunction-sections may affect debugging on some targets");
toplev.c-1766-#endif
--
toplev.c:1780: warning (0, "-fstack-protector not supported for this target");
toplev.c-1781- flag_stack_protect = 0;
--
toplev.c:1793: warning (0, "unwind tables currently requires a frame pointer "
toplev.c-1794- "for correctness");
--
tree-cfg.c:1445: warning (0, "%Hwill never be executed", &loc);
tree-cfg.c-1446- return true;
--
tree-cfg.c:2083: warning (OPT_Wunreachable_code, "%Hwill never be executed", &loc);
tree-cfg.c-2084-#else
--
tree-cfg.c:2086: warning (OPT_Wunreachable_code, "%Hwill never be executed", loc);
tree-cfg.c-2087-#endif
--
tree-cfg.c:5143: warning (0, "%H%<noreturn%> function does return", &location);
tree-cfg.c-5144-#else
--
tree-cfg.c:5147: warning (0, "%H%<noreturn%> function does return", locus);
tree-cfg.c-5148-#endif
--
tree-cfg.c:5169: warning (0, "%Hcontrol reaches end of non-void function", &location);
tree-cfg.c-5170-#else
--
tree-cfg.c:5174: warning (0, "%Hcontrol reaches end of non-void function", locus);
tree-cfg.c-5175-#endif
--
tree-cfg.c:5234: warning (OPT_Wmissing_noreturn, "%Jfunction might be possible candidate "
tree-cfg.c-5235- "for attribute %<noreturn%>",
--
tree-dump.c:987: warning (0, "ignoring unknown option %q.*s in %<-fdump-%s%>",
tree-dump.c-988- length, ptr, dfi->swtch);
--
tree-inline.c:1596: warning (OPT_Winline, inline_forbidden_reason, fn);
tree-inline.c-1597-
--
tree-inline.c:2048: warning (OPT_Winline, "inlining failed in call to %q+F: %s",
tree-inline.c-2049- fn, reason);
tree-inline.c:2050: warning (OPT_Winline, "called from here");
tree-inline.c-2051- }
--
tree-mudflap.c:847: warning (0, "mudflap checking not yet implemented for ARRAY_RANGE_REF");
tree-mudflap.c-848- return;
--
tree-mudflap.c:1038: warning (0, "mudflap cannot track %qs in stub function",
tree-mudflap.c-1039- IDENTIFIER_POINTER (DECL_NAME (decl)));
--
tree-mudflap.c:1269: warning (0, "mudflap cannot track unknown size extern %qs",
tree-mudflap.c-1270- IDENTIFIER_POINTER (DECL_NAME (obj)));
--
tree-optimize.c:478: warning (0, "size of return value of %q+D is %u bytes",
tree-optimize.c-479- fndecl, size_as_int);
--
tree-optimize.c:481: warning (0, "size of return value of %q+D is larger than %wd bytes",
tree-optimize.c-482- fndecl, larger_than_size);
--
tree-sra.c:1484:mark_no_warning (struct sra_elt *elt)
tree-sra.c-1485-{
--
tree-sra.c:1494: mark_no_warning (c);
tree-sra.c-1495- }
--
tree-sra.c:1879: mark_no_warning (elt);
tree-sra.c-1880- }
--
tree-ssa-loop-niter.c:1118: warning (OPT_Wunsafe_loop_optimizations, "%H%s", &loc, gettext (wording));
tree-ssa-loop-niter.c-1119- else
tree-ssa-loop-niter.c:1120: warning (OPT_Wunsafe_loop_optimizations, "%s", gettext (wording));
tree-ssa-loop-niter.c-1121- }
--
tree-ssa.c:1146: warning (0, gmsgid, locus, var);
tree-ssa.c-1147- TREE_NO_WARNING (var) = 1;
--
tree.c:3497: warning (OPT_Wattributes, "%q+D already declared with dllexport attribute: "
tree.c-3498- "dllimport ignored", new);
--
tree.c:3509: warning (0, "%q+D redeclared without dllimport attribute "
tree.c-3510- "after being referenced with dll linkage", new);
--
tree.c:3525: warning (OPT_Wattributes, "%q+D redeclared without dllimport attribute: "
tree.c-3526- "previous dllimport ignored", new);
--
tree.c:3577: warning (OPT_Wattributes, "%qs attribute ignored",
tree.c-3578- IDENTIFIER_POINTER (name));
--
tree.c:3596: warning (OPT_Wattributes, "inline function %q+D declared as "
tree.c-3597- " dllimport: attribute ignored", node);
--
varasm.c:958: warning (OPT_Wvolatile_register_var,
varasm.c-959- "optimization may eliminate reads and/or "
--
varasm.c:1697: warning (0, "alignment of %q+D is greater than maximum object "
varasm.c-1698- "file alignment. Using %d", decl,
--
varasm.c:1761: warning (0, "requested alignment for %q+D is greater than "
varasm.c-1762- "implemented alignment of %wu", decl, rounded);
--
varasm.c:4461: warning (0, "weak declaration of %q+D after first use results "
varasm.c-4462- "in unspecified behavior", newdecl);
--
varasm.c:4504: warning (0, "weak declaration of %q+D not supported", decl);
varasm.c-4505-
--
varasm.c:4534: warning (0, "only weak aliases are supported in this configuration");
varasm.c-4535- warn_once = 1;
--
varasm.c:4956: warning (OPT_Wattributes, "visibility attribute not supported "
varasm.c-4957- "in this configuration; ignored");
