From patchwork Sun Dec 7 00:10:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 418439 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6A6F914011D for ; Sun, 7 Dec 2014 11:10:46 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=W9C2p6TJqnw9Q5BwhLYSF/g/vyuJXMwm+SfHv4+hgIRePDSFY21BV fU4Ly8Qc76IAmShSTUPkNWTZt7IbCd+FVX2MOd4xWGguv06y1nkecfWiMHekFYPb PVJlRrwLXJJTQ4ZC+4R6ycBrhO81i7FJ+4lD3h1v94p/thh1X/w5aI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=9bgjT8ly2q6DpfNED3S3R2UhpAc=; b=pXWLH7qsjdFuHYR7gPTr kHTv8r7QYiqbwqticHQ8QW8U7XNOyYBwIaBdydpOdsVQtCjPXIc/Imom2jnL7k4a ln+s1nBMceMXlHWEauqzciHlm9Rhl73B9T5HYfsWz/JAwgD5NOgdT1I8N6bhcIJm fkuDkZMx93K1nkxFf1c3cjI= Received: (qmail 5954 invoked by alias); 7 Dec 2014 00:10:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 5933 invoked by uid 89); 7 Dec 2014 00:10:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 07 Dec 2014 00:10:26 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB70AOa2009991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 6 Dec 2014 19:10:24 -0500 Received: from localhost (ovpn-116-46.ams2.redhat.com [10.36.116.46]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB70ANVD013930; Sat, 6 Dec 2014 19:10:24 -0500 Date: Sun, 7 Dec 2014 00:10:23 +0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [wwwdocs] Move -Wodr and -Wsuggest-final-{methods, types} items to C++ section. Message-ID: <20141207001023.GA3134@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) The items on these new warnings are listed under libstdc++, but should be under C++. Committed to CVS. ? gcc-5/.changes.html.swp Index: gcc-5/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v retrieving revision 1.46 diff -u -r1.46 changes.html --- gcc-5/changes.html 6 Dec 2014 16:29:23 -0000 1.46 +++ gcc-5/changes.html 7 Dec 2014 00:05:57 -0000 @@ -239,6 +239,15 @@ constexpr int i = f(42); // i is 42 +
  • New One Definition Rule violation warning (controlled by -Wodr) + detects mismatches in type definitions and virtual table contents + during link-time optimization.
  • +
  • New warnings -Wsuggest-final-types and + -Wsuggest-final-methods helps developers + to annotate programs by final specifiers (or anonymous + namespaces) in the cases where code generation improves. + These warnings can be used at compile time, but they are more + useful in combination with link-time optimization.
  • Runtime Library (libstdc++)

    @@ -295,15 +304,6 @@
  • New random number distributions logistic_distribution and uniform_on_sphere_distribution as extensions.
  • -
  • New One Definition Rule violation warning (controlled by -Wodr) - detects mismatches in type definitions and virtual table contents - during link-time optimization.
  • -
  • New warnings -Wsuggest-final-types and - -Wsuggest-final-methods helps developers - to annotate programs by final specifiers (or anonymous - namespaces) in the cases where code generation improves. - These warnings can be used at compile time, but they are more - useful in combination with link-time optimization.
  • GDB Xmethods for Sequence Containers and std::unique_ptr;