diff options
author | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-07-16 09:57:50 +0000 |
---|---|---|
committer | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-07-16 09:57:50 +0000 |
commit | b129a37a4880241f4c90e09342eab3c3e89b6d9d (patch) | |
tree | 2b83f77899705aadb740728a42a40e5a507b4034 | |
parent | d4f5410da9ddab8db206d9d2aa78750421fe8456 (diff) | |
download | gcc-b129a37a4880241f4c90e09342eab3c3e89b6d9d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250232 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/cp/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 |
2 files changed, 13 insertions, 0 deletions
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 <v.reichelt@netcologne.de> + + * 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 <dmalcolm@redhat.com> * 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 <v.reichelt@netcologne.de> + + * g++.dg/cpp1z/direct-enum-init1.C: Revert special enum handling. + * g++.dg/warn/pr12242.C: Likewise. + 2017-07-14 Kelvin Nilsen <kelvin@gcc.gnu.org> * gcc.target/powerpc/bfp/scalar-cmp-exp-eq-3.c: New test. |