From 1e3d475ea16e89332e07651d61b60b408e0a0932 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Mon, 24 Jun 2019 15:47:22 +0000 Subject: 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 --- gcc/c/ChangeLog | 4 ++++ gcc/c/c-typeck.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/c') 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 + + * c-typeck.c (build_binary_op): Hyphenate floating-point. + 2019-06-10 Jakub Jelinek * 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; -- cgit v1.1