Allow arg_pointer_rtx/frame_pointer_rtx for based_loc_descr
commit7b22fcd7944967504f93e3be2b1f6ecb39578788
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Aug 2012 13:21:55 +0000 (24 13:21 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Aug 2012 13:21:55 +0000 (24 13:21 +0000)
treee1b6375b0815774f868b46c58812a17d2acdfef4
parentd87654c8341a96ae492d2be38d801a39e893fda7
Allow arg_pointer_rtx/frame_pointer_rtx for based_loc_descr

gcc/

PR debug/52857
* dwarf2out.c (mem_loc_descriptor): Allow arg_pointer_rtx and
frame_pointer_rtx for based_loc_descr.

gcc/testsuite/

PR debug/52857
* gcc.target/i386/pr52857-1.c: New.
* gcc.target/i386/pr52857-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190647 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr52857-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr52857-2.c [new file with mode: 0644]