public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Steven Bosscher" <stevenb.gcc@gmail.com>
To: "Michael Meissner" <michael.meissner@amd.com>,
	 	"Aldy Hernandez" <aldyh@redhat.com>,
	gcc-patches@gcc.gnu.org,  	stevenb.gcc@gmail.com,
	bonzini@gnu.org, rguenther@suse.de,  	matz@suse.de,
	christophe.harle@amd.com
Subject: Re: PR33713: remove -fforce-addr
Date: Fri, 30 Nov 2007 12:52:00 -0000	[thread overview]
Message-ID: <571f6b510711300007tc7fad5akb702a3a4baf57dae@mail.gmail.com> (raw)
In-Reply-To: <20071130000233.GA19742@mmeissner-gold.amd.com>

On Nov 30, 2007 1:02 AM, Michael Meissner <michael.meissner@amd.com> wrote:
> I'm coming in late to this.

You could say that yes, especially since bugs with -fforce-addr have
existed for years.


>  Given there were a few examples that were faster
> with -fforce-addr, do we want to remove it without trying to fix the code?

Why would you want to fix this?  This is just another flag that is not
enabled by default. It usually (almost always, actually) results in
worse code if enabled.

So there are a few exceptions, where enabling -fflag-addr sometimes
still gives slightly better code.  But that is no different from e.g.
merges from branches (tree-ssa, df), or the removal of -fforce-mem,
which also caused small slowdowns for some benchmarks, but with an
improvemed overall score.  Those changes affected the generated code
with the default flags.  I didn't hear you (or anyone else) question
those patches.

So your question looks like a bikeshed to me.

But maybe you are volunteering? ;-)


> I didn't see from the bug report that the slowdowns had been addressed.

Which slowdowns?  This flag is not enabled by default.  Almost all
SPEC benchmarks, at least, slow down with -fforce-addr.  Nothing slows
down with the default options.  In fact nothing even *changes* at all
with the default options.

Stop spreading FUD.


> I also would prefer a deprecated switch get a warning, rather than silently
> accepting it.

Silently accepting is what is done for other removed flags too.  See
http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01949.html.  You're too
late for that discussion, too :-P

Gr.
Steven

  parent reply	other threads:[~2007-11-30  8:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29 21:35 Aldy Hernandez
2007-11-30  0:28 ` Richard Guenther
2007-12-03 23:18   ` PR33713: remove -fforce-addr (changes.html patch) Aldy Hernandez
2007-12-03 23:29     ` Gerald Pfeifer
2007-11-30  8:09 ` PR33713: remove -fforce-addr Michael Meissner
2007-11-30 11:49   ` Paolo Bonzini
2007-11-30 12:52   ` Steven Bosscher [this message]
2007-11-30 15:05   ` Richard Guenther
2007-11-30 18:17     ` Steven Bosscher
2007-12-03 23:11       ` Aldy Hernandez
2007-12-02 11:31 ` Hans-Peter Nilsson
     [not found] ` <200712041513.lB4FDJle014800@ignucius.se.axis.com>
2007-12-04 15:19   ` Aldy Hernandez
2007-12-04 22:53     ` Hans-Peter Nilsson
2007-12-04 23:13       ` Aldy Hernandez
2007-12-14  2:06         ` Hans-Peter Nilsson
2007-12-14  7:59           ` Steven Bosscher
2007-12-14 12:02             ` Hans-Peter Nilsson
2007-12-14 13:32               ` Steven Bosscher
2007-12-07 16:18 ` Rask Ingemann Lambertsen
2007-12-07 16:48   ` Aldy Hernandez
2007-12-07 17:14     ` DJ Delorie
2007-12-07 17:17     ` Rask Ingemann Lambertsen

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=571f6b510711300007tc7fad5akb702a3a4baf57dae@mail.gmail.com \
    --to=stevenb.gcc@gmail.com \
    --cc=aldyh@redhat.com \
    --cc=bonzini@gnu.org \
    --cc=christophe.harle@amd.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=matz@suse.de \
    --cc=michael.meissner@amd.com \
    --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).