This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Mark -fstack-protect as optimization flag (PR middle-end/71585)


On 06/28/2016 03:54 PM, Richard Biener wrote:
> 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?

It works in the opposite way, if a caller has the flag disabled and a callee has,
than the flag is also set to the caller. Honza asked me to propagate the flag in such manner.

If you prefer to not to inline, I can prepare a patch?

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]