From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8803 invoked by alias); 9 May 2014 15:54:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 8792 invoked by uid 89); 9 May 2014 15:54:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f48.google.com Received: from mail-qg0-f48.google.com (HELO mail-qg0-f48.google.com) (209.85.192.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 09 May 2014 15:54:15 +0000 Received: by mail-qg0-f48.google.com with SMTP id i50so4701127qgf.35 for ; Fri, 09 May 2014 08:54:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=C8dWrOAbtjVeFSgimg8T32JHn9K5Fw+13dZCbcTQqas=; b=Yu8qgy5CbckMmJEhKk9P7SHugCfxGXDTygLNnNkN9iKcjx19HnyvJuVbDD4u/XsALY hhkvjyBPbew75Y1lJh3OaH4WdLDF+EdfijeCSmlXVHhBFw5xmovGaSYD9C/Nmahze5i8 VKZVQ0l4zv2L87SsrSMobmqrkpsflZMeeREjhMLg4a/mRbXq66ImAJDA5VmEqg9rvgRe RTSkoZBVZ0J4vbKRnA2kAMassHOuCwEUhmJWJ0kv7dcTnUvLbmcIB80epzTZEX6hlMkd ohZLoWiybdyhbOY0wYk8kjMLsWRnJ7PQ8ax2MDFcnKoRZq/Q79/3ITLDHXquGoHm31PF X5Xw== X-Gm-Message-State: ALoCoQldzeQu9GFg3cw1eHE945piuYzP7GbeqiTwYuOUEt+Pqsme0d0uNMvnmCMAtjGX8CQP48L5 MIME-Version: 1.0 X-Received: by 10.140.104.78 with SMTP id z72mr15219831qge.60.1399650853675; Fri, 09 May 2014 08:54:13 -0700 (PDT) Received: by 10.229.167.129 with HTTP; Fri, 9 May 2014 08:54:13 -0700 (PDT) Date: Fri, 09 May 2014 15:54:00 -0000 Message-ID: Subject: [PATCH] Add missing -fdump-* options From: Teresa Johnson To: "gcc-patches@gcc.gnu.org" Cc: David Li Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00605.txt.bz2 I discovered that the support for the documented -fdump-* options "optimized", "missed", "note" and "optall" was missing. Added that and fixed a minor typo in the documentation. Bootstrapped and tested on x86-64-unknown-linux-gnu. Ok for trunk? Thanks, Teresa 2014-05-09 Teresa Johnson * doc/invoke.texi: Fix typo. * dumpfile.c: Add support for documented -fdump-* options optimized/missed/note/optall. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 210157) +++ doc/invoke.texi (working copy) @@ -6278,7 +6278,7 @@ passes). @item missed Enable showing missed optimization information (only available in certain passes). -@item notes +@item note Enable other detailed optimization information (only available in certain passes). @item =@var{filename} Index: dumpfile.c =================================================================== --- dumpfile.c (revision 210157) +++ dumpfile.c (working copy) @@ -107,6 +107,10 @@ static const struct dump_option_value_info dump_op {"nouid", TDF_NOUID}, {"enumerate_locals", TDF_ENUMERATE_LOCALS}, {"scev", TDF_SCEV}, + {"optimized", MSG_OPTIMIZED_LOCATIONS}, + {"missed", MSG_MISSED_OPTIMIZATION}, + {"note", MSG_NOTE}, + {"optall", MSG_ALL}, {"all", ~(TDF_RAW | TDF_SLIM | TDF_LINENO | TDF_TREE | TDF_RTL | TDF_IPA | TDF_STMTADDR | TDF_GRAPH | TDF_DIAGNOSTIC | TDF_VERBOSE | TDF_RHS_ONLY | TDF_NOUID | TDF_ENUMERATE_LOCALS | TDF_SCEV)}, -- Teresa Johnson | Software Engineer | tejohnson@google.com | 408-460-2413