summaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authormshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-23 11:14:42 +0000
committermshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-23 11:14:42 +0000
commitb0e7ddf0629ceecd2b7b3f99883117732c16b9bc (patch)
tree4a35e1ce13a246aa596f7f190428f2b33548bbc0 /gcc/common
parent8871897379af4c3ba2c513828c2ce7abb4acd922 (diff)
downloadgcc-b0e7ddf0629ceecd2b7b3f99883117732c16b9bc.tar.gz
[AArch64] Default to -fsched-pressure
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215503 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/aarch64/aarch64-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/common/config/aarch64/aarch64-common.c b/gcc/common/config/aarch64/aarch64-common.c
index e44b40a1754..63f22128fb1 100644
--- a/gcc/common/config/aarch64/aarch64-common.c
+++ b/gcc/common/config/aarch64/aarch64-common.c
@@ -44,6 +44,8 @@ static const struct default_options aarch_option_optimization_table[] =
{
/* Enable section anchors by default at -O1 or higher. */
{ OPT_LEVELS_1_PLUS, OPT_fsection_anchors, NULL, 1 },
+ /* Enable -fsched-pressure by default when optimizing. */
+ { OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 },
/* Enable redundant extension instructions removal at -O2 and higher. */
{ OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
{ OPT_LEVELS_NONE, 0, NULL, 0 }