This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't mark set of vDRAP from DRAP as frame related (PR debug/43290)
On 03/10/2010 03:03 AM, Jakub Jelinek wrote:
> PR debug/43290
> * reg-notes.def (REG_CFA_SET_VDRAP): New note.
> * dwarf2out.c (dwarf2out_frame_debug_expr): Remove rule 20 - setting
> of fde->vdrap_reg.
> (dwarf2out_frame_debug): Handle REG_CFA_SET_VDRAP note.
> (based_loc_descr): Only express drap or vdrap regno based expressions
> using DW_OP_fbreg when not optimizing.
> * config/i386/i386.c (ix86_get_drap_rtx): When not optimizing,
> make the vDRAP = DRAP assignment RTX_FRAME_RELATED_P and add
> REG_CFA_SET_VDRAP note.
>
> PR debug/36728
> * gcc.dg/guality/pr36728-1.c: New test.
> * gcc.dg/guality/pr36728-2.c: New test.
Ok. Thanks for the test cases.
r~