The attached patch fixes a problem identified in PR66870 with split stack on ppc64 and ppc64le. If flag_split_stack is true, but the function being processed has the no_split_stack attribute, then the split stack prologue should not be generated. Bootstrapped on ppc64le-linux and ppc64-linux, passed the go and libgo testsuites (where split stack is enabled by default). gcc/ChangeLog 2015-07-30 Lynn Boger PR66870 * gcc/config/rs6000/rs6000.c: Add check for no_split_stack function attribute along with flag_split_stack check to determine when to generate split stack prologue for ppc64 and ppc64le.