mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-24 12:31:25 +08:00
re PR c/27149 (English in warning not grammatical: "the address of x, will always evaluate")
PR c/27149 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning. From-SVN: r114800
This commit is contained in:
parent
94ae878498
commit
48e2909e4a
@ -1,3 +1,8 @@
|
||||
2006-06-19 Martin Michlmayr <tbm@cyrius.com>
|
||||
|
||||
PR c/27149
|
||||
* c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
|
||||
|
||||
2006-06-19 Mike Stump <mrs@apple.com>
|
||||
|
||||
* tree.c (variably_modified_type_p): VM arguments don't make the
|
||||
|
@ -2507,7 +2507,7 @@ c_common_truthvalue_conversion (tree expr)
|
||||
{
|
||||
/* Common Ada/Pascal programmer's mistake. We always warn
|
||||
about this since it is so bad. */
|
||||
warning (OPT_Walways_true, "the address of %qD, will always evaluate as %<true%>",
|
||||
warning (OPT_Walways_true, "the address of %qD will always evaluate as %<true%>",
|
||||
inner);
|
||||
return truthvalue_true_node;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user