diff options
author | Martin Sebor <msebor@redhat.com> | 2019-06-24 15:47:22 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2019-06-24 09:47:22 -0600 |
commit | 1e3d475ea16e89332e07651d61b60b408e0a0932 (patch) | |
tree | 9850465f1e1883abc50a8e3ac9380f03476b4b97 /gcc/c | |
parent | c3337b44c40dd1545e00034cb8e1ae1c0dae0fa6 (diff) | |
download | gcc-1e3d475ea16e89332e07651d61b60b408e0a0932.zip gcc-1e3d475ea16e89332e07651d61b60b408e0a0932.tar.gz gcc-1e3d475ea16e89332e07651d61b60b408e0a0932.tar.bz2 |
utils.c (handle_nonnull_attribute): Quote attribute name.
gcc/ada/ChangeLog:
* gcc-interface/utils.c (handle_nonnull_attribute): Quote attribute
name.
gcc/c/ChangeLog:
* c-typeck.c (build_binary_op): Hyphenate floating-point.
gcc/testsuite/ChangeLog:
* gcc.dg/Wfloat-equal-1.c: Adjust text of expected diagnostic.
* gcc.dg/misc-column.c: Ditto.
gcc/ChangeLog:
* tree-pretty-print.h: Remove unnecessary punctuation characters
from a diagnostic.
* tree-ssa.c (release_defs_bitset): Correct preprocessor conditional.
From-SVN: r272619
Diffstat (limited to 'gcc/c')
-rw-r--r-- | gcc/c/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c/c-typeck.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 103634e..83f3eaa 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,7 @@ +2019-06-24 Martin Sebor <msebor@redhat.com> + + * c-typeck.c (build_binary_op): Hyphenate floating-point. + 2019-06-10 Jakub Jelinek <jakub@redhat.com> * c-parser.c (c_parser_pragma): Reject PRAGMA_OMP_SCAN. diff --git a/gcc/c/c-typeck.c b/gcc/c/c-typeck.c index 6abfd10..6419ca9 100644 --- a/gcc/c/c-typeck.c +++ b/gcc/c/c-typeck.c @@ -11939,7 +11939,7 @@ build_binary_op (location_t location, enum tree_code code, if (FLOAT_TYPE_P (type0) || FLOAT_TYPE_P (type1)) warning_at (location, OPT_Wfloat_equal, - "comparing floating point with %<==%> or %<!=%> is unsafe"); + "comparing floating-point with %<==%> or %<!=%> is unsafe"); /* Result of comparison is always int, but don't convert the args to int! */ build_type = integer_type_node; |