http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39326
--- Comment #51 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-22 14:00:25 UTC --- > (struct mem_ref): Replace mem member with ao_ref typed member. RTL gcse (-O2) suffers from the same slowness in its dependence tests. Caching ao_ref instead of just mem and alias-set in RTL mem-attrs would improve this tremendously. A quick try reveals that gengtype is not at all happy with including something in rtl.h though :/