From patchwork Thu Dec 30 01:38:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joern Rennecke X-Patchwork-Id: 76956 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 3F3C6B70E7 for ; Thu, 30 Dec 2010 12:38:18 +1100 (EST) Received: (qmail 29764 invoked by alias); 30 Dec 2010 01:38:16 -0000 Received: (qmail 29752 invoked by uid 22791); 30 Dec 2010 01:38:15 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, TW_DB X-Spam-Check-By: sourceware.org Received: from c60.cesmail.net (HELO c60.cesmail.net) (216.154.195.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Dec 2010 01:38:11 +0000 Received: from unknown (HELO delta2) ([192.168.1.50]) by c60.cesmail.net with ESMTP; 29 Dec 2010 20:38:09 -0500 Received: from e178000067.adsl.alicedsl.de (e178000067.adsl.alicedsl.de [85.178.0.67]) by webmail.spamcop.net (Horde MIME library) with HTTP; Wed, 29 Dec 2010 20:38:09 -0500 Message-ID: <20101229203809.bx6zpmki74g4gg04-nzlynne@webmail.spamcop.net> Date: Wed, 29 Dec 2010 20:38:09 -0500 From: Joern Rennecke To: gcc-patches@gcc.gnu.org Subject: RFA: Fix target/47101 (vmsdbgout.o build failure) MIME-Version: 1.0 User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) 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 patch allows the ia64-hp-vms build to progress to the next problem. Moreover, together with the patch for PR47063, it allows alpha64-dec-vms and alpha-dec-vms cross-builds of "all-gcc" to succeed. 2010-12-30 Joern Rennecke PR target/47101 * vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename. (vmsdbgout_finish): Likewise. Index: vmsdbgout.c =================================================================== --- vmsdbgout.c (revision 168327) +++ vmsdbgout.c (working copy) @@ -1454,18 +1454,18 @@ vmsdbgout_end_source_file (unsigned int /* Set up for Debug output at the start of compilation. */ static void -vmsdbgout_init (const char *main_input_filename) +vmsdbgout_init (const char *filename) { const char *language_string = lang_hooks.name; if (write_symbols == VMS_AND_DWARF2_DEBUG) - (*dwarf2_debug_hooks.init) (main_input_filename); + (*dwarf2_debug_hooks.init) (filename); if (debug_info_level == DINFO_LEVEL_NONE) return; /* Remember the name of the primary input file. */ - primary_filename = main_input_filename; + primary_filename = filename; /* Allocate the initial hunk of the file_info_table. */ file_info_table = XCNEWVEC (dst_file_info_entry, FILE_TABLE_INCREMENT); @@ -1568,13 +1568,13 @@ vmsdbgout_abstract_function (tree decl) VMS Debug debugging info. */ static void -vmsdbgout_finish (const char *main_input_filename ATTRIBUTE_UNUSED) +vmsdbgout_finish (const char *filename ATTRIBUTE_UNUSED) { unsigned int i, ifunc; int totsize; if (write_symbols == VMS_AND_DWARF2_DEBUG) - (*dwarf2_debug_hooks.finish) (main_input_filename); + (*dwarf2_debug_hooks.finish) (filename); if (debug_info_level == DINFO_LEVEL_NONE) return;