Re: [PATCH] Improve -fstack-protector-strong (PR middle-end/92825)

2019-12-10 Thread Jeff Law
On Tue, 2019-12-10 at 10:27 +0100, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, -fstack-protector-strong in some cases > instruments > even functions which except for the stack canary setup and later > testing of > that don't touch the stack at all. > > This is because for -fstack-prote

[PATCH] Improve -fstack-protector-strong (PR middle-end/92825)

2019-12-10 Thread Jakub Jelinek
Hi! As mentioned in the PR, -fstack-protector-strong in some cases instruments even functions which except for the stack canary setup and later testing of that don't touch the stack at all. This is because for -fstack-protector-strong we setup the canary whenever stack_protect_decl_p returns true