public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto Date: Fri, 14 Oct 2005 00:00:00 -0000 [thread overview] Message-ID: <20051014000005.13354.qmail@sourceware.org> (raw) In-Reply-To: <bug-20721-10037@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from cvs-commit at gcc dot gnu dot org 2005-10-14 00:00 ------- Subject: Bug 20721 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2005-10-13 23:59:57 Modified files: gcc/cp : cp-tree.h decl.c ChangeLog gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/init: goto2.C Log message: 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. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1165&r2=1.1166 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1433&r2=1.1434 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4929&r2=1.4930 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/goto2.C.diff?cvsroot=gcc&r1=1.1&r2=1.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6187&r2=1.6188 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721
next prev parent reply other threads:[~2005-10-14 0:00 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-20721-10037@http.gcc.gnu.org/bugzilla/> 2005-10-13 9:07 ` mmitchel at gcc dot gnu dot org 2005-10-13 23:59 ` cvs-commit at gcc dot gnu dot org 2005-10-14 0:00 ` cvs-commit at gcc dot gnu dot org [this message] 2005-10-14 0:03 ` [Bug c++/20721] [3.4 " mmitchel at gcc dot gnu dot org 2006-03-31 19:13 ` pinskia at gcc dot gnu dot org 2005-04-01 19:19 [Bug c++/20721] New: [regression from 3.4.2 to 3.4.3] " nefercheprure at gmail dot com 2005-04-01 21:57 ` [Bug c++/20721] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org 2005-04-01 21:57 ` pinskia at gcc dot gnu dot org 2005-05-19 17:44 ` mmitchel at gcc dot gnu dot org 2005-07-22 21:17 ` pinskia at gcc dot gnu dot org 2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20051014000005.13354.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).