opts.c (finish_options): If -fsplit-stack, disable implicit -forder-blocks-and-partition.
authorIan Lance Taylor <iant@golang.org>
Fri, 9 Jun 2017 18:44:28 +0000 (18:44 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 9 Jun 2017 18:44:28 +0000 (18:44 +0000)
commita1f427e9a5750602aca0419f947d1612729b5793
treecc12d6764d5fc554e61f0f5dafc58ce91099a908
parentcb59f689a37fc39178b9ac5fa595c63b3d7eddc0
opts.c (finish_options): If -fsplit-stack, disable implicit -forder-blocks-and-partition.

gcc/:
* opts.c (finish_options): If -fsplit-stack, disable implicit
-forder-blocks-and-partition.
* doc/invoke.texi (Optimize Options): Document that when using
-fsplit-stack -forder-blocks-and-partition is not implicitly
enabled.
gcc/go/:
* go-lang.c (go_langhook_post_options): If -fsplit-stack is turned
on, disable implicit -forder-blocks-and-partition.
gcc/testsuite/:
* gcc.dg/tree-prof/split-1.c: New test.

From-SVN: r249071
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/go/ChangeLog
gcc/go/go-lang.c
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/split-1.c [new file with mode: 0644]