OSDN Git Service

PR debug/43290
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 2010 18:17:10 +0000 (18:17 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 2010 18:17:10 +0000 (18:17 +0000)
commit22dd154b8cf8c5748895eb3df0d55cb34bab7264
treedacbe9fcddf5ad20226ea333141629bbab53dd47
parent93eb342dab58cfa45d6e98a084ed991fa44ac9f2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157363 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/dwarf2out.c
gcc/reg-notes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr36728-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/guality/pr36728-2.c [new file with mode: 0644]