[RFC] Enabling -flto in libstdc++?

Diego Novillo dnovillo@google.com
Tue Oct 20 18:13:00 GMT 2009


On my nightly tester I force libstdc++ to be built with -flto enabled using

$ make check RUNTESTFLAGS=--target_board=unix/"\{-flto/-O2,-fwhopr/-O2\}"

Recently, this started showing 17 regressions that we don't see in
other testsuites.  It would be useful if we would run libstdc++ with
-flto as well as the regular options.  This will make testing
libstdc++ longer, but it is useful for LTO as several of these tests
are significant.

Would this be OK?


Thanks.  Diego.



More information about the Gcc mailing list