public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/10416] 'unused variable' warning ignores ctor/dtor side-effects Date: Mon, 20 Aug 2012 17:39:00 -0000 [thread overview] Message-ID: <bug-10416-4-hQREMDzzCP@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-10416-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10416 --- Comment #12 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-08-20 17:39:00 UTC --- Author: paolo Date: Mon Aug 20 17:38:53 2012 New Revision: 190538 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190538 Log: /cp 2012-08-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/10416 * decl.c (poplevel): Check TYPE_HAS_NONTRIVIAL_DESTRUCTOR for Wunused_variable too. /testsuite 2012-08-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/10416 * g++.dg/warn/Wunused-var-17.C: New. Added: trunk/gcc/testsuite/g++.dg/warn/Wunused-var-17.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2012-08-20 17:39 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-10416-4@http.gcc.gnu.org/bugzilla/> 2012-08-20 11:50 ` paolo.carlini at oracle dot com 2012-08-20 17:39 ` paolo at gcc dot gnu.org [this message] 2012-08-20 17:40 ` paolo.carlini at oracle dot com 2012-11-08 15:06 ` paolo.carlini at oracle dot com [not found] <bug-10416-5473@http.gcc.gnu.org/bugzilla/> 2005-12-23 0:57 ` pinskia at gcc dot gnu dot org 2006-01-22 10:44 ` gdr at gcc dot gnu dot org 2006-01-23 22:23 ` pinskia at gcc dot gnu dot org [not found] <20030415185600.10416.gccbugs@contacts.eelis.net> 2004-06-10 19:31 ` mutz at kde dot org 2004-06-10 19:41 ` pinskia at gcc dot gnu dot org 2004-06-10 19:43 ` pinskia at gcc dot gnu dot org 2004-08-11 0:02 ` mbp at sourcefrog dot net 2004-08-16 18:56 ` bangerth at dealii dot org 2005-09-07 17:44 ` pinskia 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=bug-10416-4-hQREMDzzCP@http.gcc.gnu.org/bugzilla/ \ --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).