From patchwork Sat Apr 2 22:52:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 89461 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 54DF3B6F9A for ; Sun, 3 Apr 2011 08:52:28 +1000 (EST) Received: (qmail 5236 invoked by alias); 2 Apr 2011 22:52:26 -0000 Received: (qmail 5227 invoked by uid 22791); 2 Apr 2011 22:52:25 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from relay02.pair.com (HELO relay02.pair.com) (209.68.5.16) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sat, 02 Apr 2011 22:52:21 +0000 Received: (qmail 51658 invoked from network); 2 Apr 2011 22:52:19 -0000 Received: from 91.186.144.108 (HELO ?192.168.0.129?) (91.186.144.108) by relay02.pair.com with SMTP; 2 Apr 2011 22:52:19 -0000 X-pair-Authenticated: 91.186.144.108 Date: Sun, 3 Apr 2011 00:52:19 +0200 (CEST) From: Gerald Pfeifer To: Eric Botcazou cc: gcc-patches@gcc.gnu.org Subject: Re: [Ada] Re-enable -feliminate-unused-debug-types by default In-Reply-To: <201104021107.58566.ebotcazou@adacore.com> Message-ID: References: <201104021107.58566.ebotcazou@adacore.com> MIME-Version: 1.0 Content-Disposition: INLINE 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 On Sat, 2 Apr 2011, Eric Botcazou wrote: > The previous 7 patches paved the way to enabling > -feliminate-unused-debug-types again by default in Ada. We measured a > 12.5% reduction in debug info size on one big application (and an even > larger one for another application), as well as a 0.5% reduction in > compilation time at -O0 -g. Nice. I documented this for GCC 4.7 as follows. Gerald Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v retrieving revision 1.4 diff -u -r1.4 changes.html --- changes.html 27 Mar 2011 18:57:39 -0000 1.4 +++ changes.html 2 Apr 2011 22:50:50 -0000 @@ -46,6 +46,13 @@

Ada

+
    +
  • The command-line option -feliminate-unused-debug-types + has been removed. Its behavior is the default now, leading to + a reduction in debug info size of 12% and more for relevant + cases.
  • +
+

C family

C++