This is the mail archive of the
mailing list for the libstdc++ project.
Re: patch to check ld
Ulrich Drepper <email@example.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 :-)