On Fri, 12 Jul 2013, Ian Lance Taylor wrote:
On Fri, Jul 12, 2013 at 7:54 AM, Marc Glisse <marc.gli...@inria.fr> wrote:
this patch makes the driver pass -O2 to GNU ld if gcc was called with -O3
(or more), -Ofast or -Os.
I don't understand why that is a good idea.
Well, you thought it was 3 years ago ;-)
http://gcc.gnu.org/ml/gcc/2010-05/msg00193.html
The linker -O option is only distantly related to the compiler -O
option. It was probably a mistake to have a linker -O option at all.
Doesn't the linker produce something that is faster to link and/or
smaller, with this flag?
--
Marc Glisse