Re: [PATCH] Adjust DECL_INCOMING_RTL for pass_by_reference parameters (PR debug/48163)

2011-03-17 Thread Richard Henderson
On 03/17/2011 11:36 AM, Jakub Jelinek wrote: > PR debug/48163 > * function.c (assign_parms): For data.passed_pointer parms > use MEM of data.entry_parm instead of data.entry_parm itself > as DECL_INCOMING_RTL. > * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_

[PATCH] Adjust DECL_INCOMING_RTL for pass_by_reference parameters (PR debug/48163)

2011-03-17 Thread Jakub Jelinek
Hi! If a PARM_DECL is not passed by reference because the FE decides so (then the PARM_DECL is DECL_BY_REFERENCE and has pointer type), but because pass_by_reference said so, then apparently DECL_INCOMING is the Pmode pointer to the MEM instead of the actual incoming location and the fact that exp