PR debug/45849
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2010 22:02:28 +0000 (22:02 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2010 22:02:28 +0000 (22:02 +0000)
commit32ff4cbebaf9bddaefde3bc3c6f0b86e748afe17
treef54dcafd52295b4f2158bf0f8bd42e684f418501
parent551732eb35e9a27b781ce4abba6b3fb93afd96c1
PR debug/45849
* var-tracking.c (strip_pointer_flags): New function.
(emit_note_insn_var_location): If rtx_equal_p check failed,
retry on locations simplified with simplify_replace_fn_rtx
and strip_pointer_flags as its callback.

* gcc.dg/debug/pr45849.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164962 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/pr45849.c [new file with mode: 0644]
gcc/var-tracking.c