This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[RFC] Enabling -flto in libstdc++?
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Richard Guenther <rguenther at suse dot de>
- Date: Tue, 20 Oct 2009 11:30:27 -0400
- Subject: [RFC] Enabling -flto in libstdc++?
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.