public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Martin Jambor <mjambor@suse.cz>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Cc: Richard Guenther <rguenther@suse.de>, 	Jan Hubicka <hubicka@ucw.cz>
Subject: [PATCH, PR 41395] Enable IPA-SRA at -O2 again
Date: Tue, 06 Oct 2009 12:19:00 -0000	[thread overview]
Message-ID: <20091006121701.GA28832@virgil.suse.cz> (raw)

Hi,

because I believe all concerns raised in PR 41395 and elsewhere, the
patch below enables IPA-SRA by default at -O2 again.  As slush after
the LTO merge is over, I'd like to commit it soon.

I have bootstrapped and tested this patch on x86_64-linux (with Ada,
LTO enabled, both with "yes" and "release" checking), i686-linux (with
Ada, LTO enabled), ia64-linux (LTO not configured) and sparc-linux
(though on a pre-LTO revision and the tests are still running now).
Uros has bootstrapped and tested it on alpha (though I also know only
about pre-LTO testing).  This makes me believe that the severe
problems caused by it the last time will not happen again.

OK for trunk?

Thanks,

Martin


2009-10-06  Martin Jambor  <mjambor@suse.cz>

	PR bootstrap/41395
	* opts.c (decode_options): Run IPA-SRA at -O2.

Index: mine/gcc/opts.c
===================================================================
--- mine.orig/gcc/opts.c
+++ mine/gcc/opts.c
@@ -922,6 +922,7 @@ decode_options (unsigned int argc, const
   flag_tree_pre = opt2;
   flag_tree_switch_conversion = 1;
   flag_ipa_cp = opt2;
+  flag_ipa_sra = opt2;
 
   /* Track fields in field-sensitive alias analysis.  */
   set_param_value ("max-fields-for-field-sensitive",

             reply	other threads:[~2009-10-06 12:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06 12:19 Martin Jambor [this message]
2009-10-06 12:46 ` Richard Guenther

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=20091006121701.GA28832@virgil.suse.cz \
    --to=mjambor@suse.cz \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hubicka@ucw.cz \
    --cc=rguenther@suse.de \
    /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).