------- Comment #41 from jakub at gcc dot gnu dot org 2009-09-04 16:58 ------- Created an attachment (id=18496) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18496&action=view) gcc45-pr41241.patch
Untested fix for the cfgloopmanip.c issue. We have (mem (mem (sp + cst)) in the debug_insn, and we weren't expecting/handling that. Still, if sp is present in the debug_insn in some unexpected way, the debug_insn will cause -fcompare-debug differences. I think for DEBUG_INSN_P we'll need to queue them into a special list and replace all occurrences of sp with sp + cst. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41241