From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25311 invoked by alias); 15 Jul 2011 16:00:54 -0000 Received: (qmail 25295 invoked by uid 22791); 15 Jul 2011 16:00:51 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jul 2011 16:00:30 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6FG0IF9029092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jul 2011 12:00:18 -0400 Received: from anchor.twiddle.net (vpn-225-131.phx2.redhat.com [10.3.225.131]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p6FG0HRX027884; Fri, 15 Jul 2011 12:00:17 -0400 Message-ID: <4E206411.9050803@redhat.com> Date: Fri, 15 Jul 2011 16:09:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Eric Botcazou CC: gcc-patches@gcc.gnu.org Subject: Re: [patch] Fix PR target/48220 for the SPARC References: <201107142342.57471.ebotcazou@adacore.com> In-Reply-To: <201107142342.57471.ebotcazou@adacore.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-07/txt/msg01254.txt.bz2 On 07/14/2011 02:42 PM, Eric Botcazou wrote: > PR target/48220 > * doc/md.texi (Standard Names): Document window_save. > * cfgexpand.c (expand_debug_parm_decl): New function extracted from > expand_debug_expr and expand_debug_source_expr. If the target has > a window_save instruction, adjust the ENTRY_VALUE_EXP. > (expand_debug_expr) : Call expand_debug_parm_decl if the > SSA_NAME_VAR is a parameter. > (expand_debug_source_expr) : Call expand_debug_parm_decl. > * var-tracking.c (parm_reg_t): New type and associated vector type. > (windowed_parm_regs): New variable. > (adjust_insn): If the target has a window_save instruction and this > is the instruction, make its effect on parameter registers explicit. > (next_non_note_insn_var_location): New function. > (emit_notes_in_bb): Use it instead of NEXT_INSN throughout. > (vt_add_function_parameter): If the target has a window_save insn, > adjust the incoming RTL and record that in windowed_parm_regs. > (vt_finalize): Free windowed_parm_regs. Ok. r~