This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: patch to check ld
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: patch to check ld
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 26 Jul 2000 21:54:04 +0200
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, libstdc++ at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.SOL.3.91.1000726122335.383B-100000@cse.cygnus.com> <flhf9cwuol.fsf@sel.cmla.ens-cachan.fr> <m3bszk8ykk.fsf@otr.mynet.cygnus.com>
Ulrich Drepper <drepper@redhat.com> writes:
| Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:
|
| > | IMHO, these flags should be the default in the linker itself, but they are
| > | currently not.
| >
| > I'm glad to see we agree on this. We need opinions from the linker
| > experts on gcc.
|
| -O1 must not be added to the specs. The runtime can increase
| dramatically and therefore makes it unsuitable.
OK. I didn't test it on a large program; so I'll believe you.
| ... Why do you think I've
| added an extra option to enable this optimization?
At any case I don't think requiring users to manually play with that
option is the right way to go. I'd prefer an automated way to achieve
that -- don't tell me a script is sufficient :-)
-- Gaby