PR debug/54114
commit861a6de42896fa890366b2e3698d60144c59caef
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Jan 2013 10:58:15 +0000 (18 10:58 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Jan 2013 10:58:15 +0000 (18 10:58 +0000)
tree99bb20202acf93837191e504d606842487027e5c
parenta9490210142caec4f421105617ee2eb6ca3c988b
PR debug/54114
PR debug/54402
PR debug/49888
* var-tracking.c (negative_power_of_two_p): New.
(global_get_addr_cache, local_get_addr_cache): New.
(get_addr_from_global_cache, get_addr_from_local_cache): New.
(vt_canonicalize_addr): Rewrite using the above.  Adjust the
heading comment.
(vt_stack_offset_p): Remove.
(vt_canon_true_dep): Always canonicalize loc's address.
(clobber_overlapping_mems): Make sure we have a MEM.
(local_get_addr_clear_given_value): New.
(val_reset): Clear local cached entries.
(compute_bb_dataflow): Create and release the local cache.
Disable duplicate MEMs clobbering.
(emit_notes_in_bb): Clobber MEMs likewise.
(vt_emit_notes): Create and release the local cache.
(vt_initialize, vt_finalize): Create and release the global
cache, respectively.
* alias.c (rtx_equal_for_memref_p): Compare operands of
ENTRY_VALUEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195291 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/alias.c
gcc/var-tracking.c