http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54970
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #28478|0 |1 is obsolete| | --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-18 09:26:54 UTC --- Created attachment 28479 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28479 gcc48-pr54970.patch The testcase still fails with -m32 -Os, the problem is that DECL_DEBUG_EXPR isn't created for the replacements in that case. This patch adds needed tree-sra.c and var-tracking.c/dwarf2out.c changes to handle MEM_REFs with ADDR_EXPR in it too.