summaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authoribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-29 15:59:19 +0000
committeribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-29 15:59:19 +0000
commit65c4a8324fd926f1c9604a77a45cd711ef60d56e (patch)
tree10f8753bb27e5f799623c7d9441e03111df6b315 /gcc/common
parentcaf1e632978020e019a9cc60a07b8906b42031d8 (diff)
downloadgcc-65c4a8324fd926f1c9604a77a45cd711ef60d56e.tar.gz
Enable REE pass by default for AArch64 at O2 or higher
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198424 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 bb1aeec6531..9c8e7705109 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 redundant extension instructions removal at -O2 and higher. */
+ { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
{ OPT_LEVELS_NONE, 0, NULL, 0 }
};