From patchwork Fri Nov 4 17:39:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Xu X-Patchwork-Id: 123675 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]) by ozlabs.org (Postfix) with SMTP id 41D14B6F62 for ; Sat, 5 Nov 2011 04:40:13 +1100 (EST) Received: (qmail 16143 invoked by alias); 4 Nov 2011 17:40:06 -0000 Received: (qmail 16013 invoked by uid 22791); 4 Nov 2011 17:40:05 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 17:39:51 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id pA4HdlXx018856; Fri, 4 Nov 2011 10:39:48 -0700 Received: from rong.mtv.corp.google.com (rong.mtv.corp.google.com [172.18.110.233]) by wpaz24.hot.corp.google.com with ESMTP id pA4HdkcP011139; Fri, 4 Nov 2011 10:39:46 -0700 Received: by rong.mtv.corp.google.com (Postfix, from userid 104659) id 510E6C1F62; Fri, 4 Nov 2011 10:39:46 -0700 (PDT) To: reply@codereview.appspotmail.com, gcc-patches@gcc.gnu.org Subject: [google] suppress LIPO notes (issue5356041) Message-Id: <20111104173946.510E6C1F62@rong.mtv.corp.google.com> Date: Fri, 4 Nov 2011 10:39:46 -0700 (PDT) From: xur@google.com (Rong Xu) X-System-Of-Record: true X-IsSubscribed: yes 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 Suppress another LIPO notes. Move it under fopt-info. For google branch only. Tested with internal branchmark suite. 2011-11-04 Rong Xu * gcc/c-family/c-opts.c: move the notes under fopt-info. --- This patch is available for review at http://codereview.appspot.com/5356041 Index: gcc/c-family/c-opts.c =================================================================== --- gcc/c-family/c-opts.c (revision 180964) +++ gcc/c-family/c-opts.c (working copy) @@ -1104,8 +1104,9 @@ > (size_t) PARAM_VALUE (PARAM_MAX_LIPO_MEMORY))) { i++; do { - inform (input_location, "Not importing %s: maximum memory " - "consumption reached", in_fnames[i]); + if (flag_opt_info >= OPT_INFO_MED) + inform (input_location, "Not importing %s: maximum memory " + "consumption reached", in_fnames[i]); i++; } while (i < num_in_fnames); return true;