Re: [patch] Fix PR target/48220 for the SPARC

2011-07-22 Thread Eric Botcazou
> > * 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_e

Re: [patch] Fix PR target/48220 for the SPARC

2011-07-15 Thread Richard Henderson
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_

[patch] Fix PR target/48220 for the SPARC

2011-07-14 Thread Eric Botcazou
Hi, this adds support for DW_OP_GNU_entry_value/DW_TAG_GNU_call_site_parameter on SPARC-like architectures (architectures with register windows and explicit window save instruction). The transformation OUTGOING_REGNO -> INCOMING_REGNO is explicit for them and not tied to the call-to-subroutine