public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rafael Espindola <espindola@google.com>
To: Ian Lance Taylor <iant@google.com>
Cc: Steven Bosscher <stevenb.gcc@gmail.com>, gcc@gcc.gnu.org
Subject: Re: -use-linker-plugin passed to ld
Date: Sat, 24 Oct 2009 04:26:00 -0000	[thread overview]
Message-ID: <38a0d8450910232018w229df98i6ac55d090419c422@mail.gmail.com> (raw)
In-Reply-To: <mcrtyxqueyr.fsf@dhcp-172-17-9-151.mtv.corp.google.com>

> I thought about that too, but a -f flag would be passed to the
> middle-end, where it does not make any sense.  We could make it a -f
> flag anyhow, of course, and just explicitly ignore it in the
> middle-end.
>
> Any opinions on the best user interface for this?

From an user interface point of view I have no preferences for
-fuse-linker-plugin or -use-linker-plugin. I don't like the idea of
ignoring -fuse-linker-plugin on the compilers (cc1/cc1plus/...).
We should probably filter it on the driver.

From an implementation point of view it is easier to avoid
-use-linker-plugin being passed to the linker than it is
to avoid -fuse-linker-plugin being passed to the compilers.
The reason is that we don't need the option after linking,
so we can just use %< to filter it out. With -f I think we
would have to record it in a variable and use that in
the spec.

BTW, a bootstrap with the original patch attached
finished successfully.

> Ian
>

Cheers,
-- 
Rafael Ávila de Espíndola

  reply	other threads:[~2009-10-24  3:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 15:02 Ian Lance Taylor
2009-10-23 15:45 ` Rafael Espindola
2009-10-23 16:49   ` Rafael Espindola
2009-10-23 18:45     ` Ian Lance Taylor
2009-10-23 19:00       ` Steven Bosscher
2009-10-23 19:07         ` Ian Lance Taylor
2009-10-24  4:26           ` Rafael Espindola [this message]
2009-10-26 23:27           ` Hans-Peter Nilsson
2009-10-27  6:09             ` Daniel Jacobowitz
2009-10-27 15:55               ` Rafael Espindola
2009-10-27 16:45                 ` Andreas Schwab
2009-10-27 17:01                   ` Ian Lance Taylor
2009-10-27 17:22                   ` Rafael Espindola
2009-10-27 17:24                     ` Rafael Espindola
2009-10-27 19:50                       ` Ian Lance Taylor
2009-10-27 18:23                     ` Andrew Pinski
2009-10-27 18:54                       ` Rafael Espindola

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=38a0d8450910232018w229df98i6ac55d090419c422@mail.gmail.com \
    --to=espindola@google.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.com \
    --cc=stevenb.gcc@gmail.com \
    /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).