On 10/2/18 1:21 PM, Segher Boessenkool wrote: > Hi Peter, > > On Tue, Oct 02, 2018 at 11:42:19AM -0500, Peter Bergner wrote: >> +/* The default implementation of >> TARGET_SETJMP_PRESERVES_NONVOLATILE_REGS_P. */ >> + >> +bool >> +default_setjmp_preserves_nonvolatile_regs_p (void) >> +{ >> + return false; >> +} > > You can just use hook_bool_void_false for this (and hook_bool_void_true > for e.g. the rs6000 implementation).
Ah, I didn't know those existed. Ok, I'll rework it to use that, thanks. Peter