public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Stam Markianos-Wright <stammark@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/vendors/ARM/heads/arm-10)] Enable -fcode-hoisting with -Os.
Date: Tue,  8 Jun 2021 09:11:03 +0000 (GMT)	[thread overview]
Message-ID: <20210608091103.92ED6394D8AA@sourceware.org> (raw)

https://gcc.gnu.org/g:0b3a129521934c5c65fa3603f7d22efe740632e4

commit 0b3a129521934c5c65fa3603f7d22efe740632e4
Author: Vidya Praveen <vidyapraveen@arm.com>
Date:   Fri Jun 19 17:01:03 2020 +0100

    Enable -fcode-hoisting with -Os.
    
        Author: 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:
---
 gcc/common/config/arm/arm-common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/common/config/arm/arm-common.c b/gcc/common/config/arm/arm-common.c
index 78a779c9350..08615f65b8c 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 }
   };


             reply	other threads:[~2021-06-08  9:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08  9:11 Stam Markianos-Wright [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-27 16:13 Stam Markianos-Wright
2021-09-27 10:54 Stam Markianos-Wright
2021-06-21 11:07 Stam Markianos-Wright
2021-06-01 15:04 Stam Markianos-Wright
2021-04-27 16:19 Vidya Praveen
2020-11-03 20:10 Vidya Praveen
2020-10-06 18:19 Vidya Praveen
2020-06-19 16:23 Vidya Praveen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210608091103.92ED6394D8AA@sourceware.org \
    --to=stammark@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).