From 473cec554a78fc340c970493000ebd14f74511db Mon Sep 17 00:00:00 2001 From: Ian Bolton Date: Mon, 29 Apr 2013 15:59:19 +0000 Subject: [PATCH] Enable REE pass by default for AArch64 at O2 or higher From-SVN: r198424 --- gcc/ChangeLog | 5 +++++ gcc/common/config/aarch64/aarch64-common.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 38074dab23f..9f09e1473ad 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-04-29 Ian Bolton + + * common/config/aarch64/aarch64-common.c: Enable REE pass at O2 + or higher by default. + 2013-04-29 Richard Biener PR middle-end/57075 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 } }; -- 2.30.2