On 07/08/2015 02:49 AM, Kito Cheng wrote:
OK. Not necessarily because avoid the warning is really all that important, but because the if-else is just as easy to read as the switch and dramatically more compact.Bootstrapped & regression-tested on x86_64-linux-gnu :)2015-07-08 Kito Cheng <kito.ch...@gmail.com> * function.c (stack_protect_epilogue): Use if rather than switch for check targetm.have_stack_protect_test().
Jeff