aboutsummaryrefslogtreecommitdiff
path: root/gcc/common/config
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2014-09-23 11:14:42 +0000
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>2014-09-23 11:14:42 +0000
commitde72c50f4ca7c11f92daf50c88da4a725ada029a (patch)
tree4a35e1ce13a246aa596f7f190428f2b33548bbc0 /gcc/common/config
parent84eca54267742a6978fe467c8e36a6eace7170c8 (diff)
downloadgcc-de72c50f4ca7c11f92daf50c88da4a725ada029a.zip
gcc-de72c50f4ca7c11f92daf50c88da4a725ada029a.tar.gz
gcc-de72c50f4ca7c11f92daf50c88da4a725ada029a.tar.bz2
[AArch64] Default to -fsched-pressure
From-SVN: r215503
Diffstat (limited to 'gcc/common/config')
-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 e44b40a..63f2212 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 }