https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83390
--- Comment #6 from David Binderman <dcb314 at hotmail dot com> --- (In reply to David Binderman from comment #5) > I'll dig deeper with some more debug statements. I couldn't make much sense of the results, so I tried initialising local variable "offset" at it's declaration to zero. That didn't fix the problem. I still get valgrind errors. To make more sense of the results, for valgrind does defined -= undefined produce undefined ? If so, the debug results indicate that this statement is the one where it goes wrong: offset -= lra_get_insn_recog_data (insn)->sp_offset; which seems to indicate that function lra_get_insn_recog_data is going wrong.