On 11/13/20 1:20 AM, Richard Sandiford via Gcc-patches wrote: > When using validate_change to make a group of changes, you have > to remember to cancel them if something goes wrong. This patch > adds an RAII class to make that easier. See the comments in the > patch for details and examples. > > gcc/ > * recog.h (insn_change_watermark): New class. Ah, funny, I nearly suggested this with the temporary undo thingie. OK jeff