diff options
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index edf934d..8ac7f51 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -3117,7 +3117,7 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs) convert (unsigned_type, rhs), size_int (lbitsize), 0))) { - warning ("comparison is always %d due to width of bitfield", + warning ("comparison is always %d due to width of bit-field", code == NE_EXPR); return convert (compare_type, (code == NE_EXPR @@ -3130,7 +3130,7 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs) size_int (lbitsize - 1), 0); if (! integer_zerop (tem) && ! integer_all_onesp (tem)) { - warning ("comparison is always %d due to width of bitfield", + warning ("comparison is always %d due to width of bit-field", code == NE_EXPR); return convert (compare_type, (code == NE_EXPR |