On Thu, Aug 17, 2017 at 1:37 PM, Maxim Ostapenko <m.ostape...@samsung.com> wrote: > Hi, > > as discussed in PR, currently we are missing some SSP related options when > streaming target specific options in LTO mode. This leads to incorrect code > and segfaults (e.g. in ASan's pr64820.c testcase). > This patch fixes this by moving options saving machinery down to setting > ix86_stack_protector_guard_reg thus all related options are propagated > correctly. > > Tested on x86{_64}-unknown-linux-gnu and lto-bootstrapped, OK to apply?
OK. I'll take care to backport the patch to other release branches. Thanks, Uros.