This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch to check ld


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]