http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48866
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-05 13:54:18 UTC --- Why are you changing TER for that though? Won't that affect also real code generation rather than just debug insns? I mean there are targets e.g. with MEM MEM addressing. With SSA expansion I think you can decide whether you want to use TER's advice or not during expansion, where you know if it is from debug stmt or not.