diff options
author | Joey Ye <joey.ye@arm.com> | 2019-10-10 10:29:47 +0000 |
---|---|---|
committer | Vidya Praveen <vidyapraveen@arm.com> | 2020-04-08 20:55:12 +0100 |
commit | 13861a80750d118fbdca6006ab175903bacbb7ec (patch) | |
tree | 9634adb5332fd10c1f86c0e6a709914c22130745 | |
parent | 1a2a0af530cacca88bd65bf55d512aed03646f76 (diff) | |
download | gcc-embedded-9-2020q2.zip gcc-embedded-9-2020q2.tar.gz gcc-embedded-9-2020q2.tar.bz2 |
Pickup patch rejected in trunk.refs/vendors/ARM/tags/embedded-9-2020q2embedded-9-2020q2embedded-9-2020-q2
2019-09-11 Wilco Dijkstra <wdijkstr@arm.com>
PR tree-optimization/80155
* common/config/arm/arm-common.c (arm_option_optimization_table):
Enable -fcode-hoisting with -Os.
-rw-r--r-- | gcc/ChangeLog.arm | 8 | ||||
-rw-r--r-- | gcc/common/config/arm/arm-common.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog.arm b/gcc/ChangeLog.arm new file mode 100644 index 0000000..d2fd5cc --- /dev/null +++ b/gcc/ChangeLog.arm @@ -0,0 +1,8 @@ +2019-10-10 Joey Ye <joey.ye@arm.com> + Pickup patch rejected in trunk. + 2019-09-11 Wilco Dijkstra <wdijkstr@arm.com> + + + PR tree-optimization/80155 + * common/config/arm/arm-common.c (arm_option_optimization_table): + Enable -fcode-hoisting with -Os. diff --git a/gcc/common/config/arm/arm-common.c b/gcc/common/config/arm/arm-common.c index 41a920f..b0d5fb3 100644 --- a/gcc/common/config/arm/arm-common.c +++ b/gcc/common/config/arm/arm-common.c @@ -39,6 +39,8 @@ static const struct default_options arm_option_optimization_table[] = /* Enable section anchors by default at -O1 or higher. */ { OPT_LEVELS_1_PLUS, OPT_fsection_anchors, NULL, 1 }, { OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 }, + /* Enable code hoisting only with -Os. */ + { OPT_LEVELS_SIZE, OPT_fcode_hoisting, NULL, 1 }, { OPT_LEVELS_NONE, 0, NULL, 0 } }; |