aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-10-13 23:59:57 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-10-13 23:59:57 +0000
commit6c06fbce5c77ffbb0be281d22780a919de4877fe (patch)
treea4da9de28c6912e3768cb698ed0a81ac34281fd1 /gcc/java
parent02f3e085c7ba33279329aae728aaf42dc922add6 (diff)
downloadgcc-6c06fbce5c77ffbb0be281d22780a919de4877fe.zip
gcc-6c06fbce5c77ffbb0be281d22780a919de4877fe.tar.gz
gcc-6c06fbce5c77ffbb0be281d22780a919de4877fe.tar.bz2
re PR c++/20721 (crossing of a initialization left undetected on goto)
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. From-SVN: r105380
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions