From 00aeee5636caf20262bf00270bce7eb11f3e62ab Mon Sep 17 00:00:00 2001 From: Volker Reichelt Date: Sun, 16 Jul 2017 09:57:50 +0000 Subject: [PATCH] Add forgotten Changelog entries for * parser.c (cp_parser_cast_expression): Use %q#T instead of %qT in old-style cast diagnostic. * typeck.c (maybe_warn_about_useless_cast): Use %q#T instead of %qT in useless cast diagnostic. * error.c (type_to_string): Remove enum special handling. * g++.dg/cpp1z/direct-enum-init1.C: Revert special enum handling. * g++.dg/warn/pr12242.C: Likewise. From-SVN: r250232 --- gcc/cp/ChangeLog | 8 ++++++++ gcc/testsuite/ChangeLog | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 715ac76c8c4..84a21341ce9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,11 @@ +2017-07-16 Volker Reichelt + + * parser.c (cp_parser_cast_expression): Use %q#T instead of %qT + in old-style cast diagnostic. + * typeck.c (maybe_warn_about_useless_cast): Use %q#T instead of %qT + in useless cast diagnostic. + * error.c (type_to_string): Remove enum special handling. + 2017-07-14 David Malcolm * name-lookup.c (get_std_name_hint): Add '<' and '>' around diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7474c662a76..6472e11f401 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-07-16 Volker Reichelt + + * g++.dg/cpp1z/direct-enum-init1.C: Revert special enum handling. + * g++.dg/warn/pr12242.C: Likewise. + 2017-07-14 Kelvin Nilsen * gcc.target/powerpc/bfp/scalar-cmp-exp-eq-3.c: New test. -- 2.30.2