On Tue, Jun 28, 2016 at 3:38 PM, Martin Liška <mli...@suse.cz> wrote: > Hello. > > Following patch marks -fstack-protect as Optimization flag. > That let a user to mark a function with #pragma GCC optimize > ("-fno-stack-protector") > to disable the optimization for a function. > > Patch survives regression tests and bootstraps on x86_64-linux-gnu. > > Ready to install?
I wonder about the inliner change. If one marks a single function with -fstack-protector that implicitely marks callers with -fno-stack-protector. So I'd rather disable inlining between different settings here? Richard. > Thanks, > Martin