diff options
author | mmitchel <> | 2005-10-13 22:59:57 +0000 |
---|---|---|
committer | mmitchel <> | 2005-10-13 22:59:57 +0000 |
commit | b09d3e3b776ccecc51a02f47a86626089ec838c6 (patch) | |
tree | a4da9de28c6912e3768cb698ed0a81ac34281fd1 /gcc/cp/ChangeLog | |
parent | 9431adfb24234f82886ca7177c288b826f8ef1f0 (diff) |
PR c++/20721
* cp-tree.h (DECL_NONTRIVIALLY_INITIALIZED_P): New macro.
* decl.c (duplicate_decls): Merge it into new declarations.
(decl_jump_unsafe): Use it, rather than DECL_INITIAL.
(cp_finish_decl): Set it, when appropriate.
PR c++/20721
* g++.dg/init/goto2.C: New test.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4ad7a080990..ec812924c74 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,11 @@ 2005-10-13 Mark Mitchell <mark@codesourcery.com> + PR c++/20721 + * cp-tree.h (DECL_NONTRIVIALLY_INITIALIZED_P): New macro. + * decl.c (duplicate_decls): Merge it into new declarations. + (decl_jump_unsafe): Use it, rather than DECL_INITIAL. + (cp_finish_decl): Set it, when appropriate. + PR c++/22180 * call.c (build_new_method_call): Correct pretty-printing of destructor names. |