public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [lto] Enabling LTO in selected testsuite directories
@ 2009-05-16 20:09 Diego Novillo
  2009-05-17 18:20 ` Toon Moene
  2009-05-19  0:34 ` Janis Johnson
  0 siblings, 2 replies; 6+ messages in thread
From: Diego Novillo @ 2009-05-16 20:09 UTC (permalink / raw)
  To: Janis Johnson, gcc

On the LTO branch, I am brute-forcing LTO compilation on all the
testsuite directories.  This causes many spurious failures because we
are not going to support LTO compiles on everything.  For instance,
LTO is not supported for fortran, java, ada, mudflap.  Also, for some
tests like pch, the tests fail trivially because of assembly
miscomparison (due to the LTO sections).

I am trying to come up with a generic mechanism that can be used in
individual .exp files so they can decide whether to test the two LTO
modes.  In terms of dg.exp, it would mean adding 3 or 4 new entries to
DG_TORTURE_OPTIONS ({-O0 -flto}, {-O2 -flto}, {-O0 -fwhopr}, {-O2
-fwhopr}).

Do you have any suggestion on how I could implement that?


Thanks.  Diego.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-19 14:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-16 20:09 [lto] Enabling LTO in selected testsuite directories Diego Novillo
2009-05-17 18:20 ` Toon Moene
2009-05-18  7:58   ` Diego Novillo
2009-05-19  0:34 ` Janis Johnson
2009-05-19 16:52   ` Diego Novillo
2009-05-19 17:10     ` Diego Novillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).