From patchwork Sun Aug 22 11:20:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marcin_Baczy=C5=84ski?= X-Patchwork-Id: 62371 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 3C54AB70D0 for ; Sun, 22 Aug 2010 21:20:40 +1000 (EST) Received: (qmail 22392 invoked by alias); 22 Aug 2010 11:20:30 -0000 Received: (qmail 22290 invoked by uid 22791); 22 Aug 2010 11:20:28 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-fx0-f47.google.com (HELO mail-fx0-f47.google.com) (209.85.161.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 22 Aug 2010 11:20:23 +0000 Received: by fxm6 with SMTP id 6so2838358fxm.20 for ; Sun, 22 Aug 2010 04:20:21 -0700 (PDT) Received: by 10.223.119.204 with SMTP id a12mr2896910far.67.1282476021101; Sun, 22 Aug 2010 04:20:21 -0700 (PDT) Received: from localhost (chello089075072227.chello.pl [89.75.72.227]) by mx.google.com with ESMTPS id u8sm1987841fah.12.2010.08.22.04.20.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Aug 2010 04:20:20 -0700 (PDT) From: Marcin =?utf-8?Q?Baczy=C5=84ski?= To: gcc-patches@gcc.gnu.org Subject: [PATCH] Remove old #if 0-ed code Date: Sun, 22 Aug 2010 13:20:18 +0200 Message-ID: <8739u6lwr1.fsf@gmail.com> MIME-Version: 1.0 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 This code was #if 0-ed over 12 years ago. 2010-08-22 Marcin Baczynski * dwarf2out.c (file scope): Remove garbage. (gen_subprogram_die): Same. Index: gcc/dwarf2out.c =================================================================== --- gcc/dwarf2out.c (wersja 163449) +++ gcc/dwarf2out.c (kopia robocza) @@ -6043,9 +6043,6 @@ static GTY ((param_is (struct vcall_insn /* Record whether the function being analyzed contains inlined functions. */ static int current_function_has_inlines; -#if 0 && defined (MIPS_DEBUGGING_INFO) -static int comp_unit_has_inlines; -#endif /* The last file entry emitted by maybe_emit_file(). */ static GTY(()) struct dwarf_file_data * last_emitted_file; @@ -18960,18 +18957,6 @@ gen_subprogram_die (tree decl, dw_die_re current_function_has_inlines = 0; decls_for_scope (outer_scope, subr_die, 0); - -#if 0 && defined (MIPS_DEBUGGING_INFO) - if (current_function_has_inlines) - { - add_AT_flag (subr_die, DW_AT_MIPS_has_inlines, 1); - if (! comp_unit_has_inlines) - { - add_AT_flag (comp_unit_die, DW_AT_MIPS_has_inlines, 1); - comp_unit_has_inlines = 1; - } - } -#endif } /* Add the calling convention attribute if requested. */ add_calling_convention_attribute (subr_die, decl);