re PR middle-end/39326 (Segmentation fault with -O1, out of memory with -O2)
authorRichard Biener <rguenther@suse.de>
Mon, 18 Mar 2013 08:42:57 +0000 (08:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Mar 2013 08:42:57 +0000 (08:42 +0000)
commitbdb01696ea15de8003a178f12b4cbc87655acd2d
treeaa0416ec0f7329adcdb338ffdf19aaff6a192c84
parent12d2dc5e67905a22e0bf6d8b4a49b1ce246284a8
re PR middle-end/39326 (Segmentation fault with -O1, out of memory with -O2)

2013-03-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/39326
* tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry.
(struct mem_ref): Replace mem member with ao_ref typed member.
(MEM_ANALYZABLE): Adjust.
(memref_eq): Likewise.
(mem_ref_alloc): Likewise.
(gather_mem_refs_stmt): Likewise.
(mem_refs_may_alias_p): Use the ao_ref to query the alias oracle.
(execute_sm_if_changed_flag_set): Adjust.
(execute_sm): Likewise.
(ref_always_accessed_p): Likewise.
(refs_independent_p): Likewise.
(can_sm_ref_p): Likewise.

From-SVN: r196768
gcc/ChangeLog
gcc/tree-ssa-loop-im.c