[PATCH] testsuite/lib/target-supports.exp: Fix check_effective_target_lto

Ilya Verbin iverbin@gmail.com
Wed Jan 14 22:45:00 GMT 2015


On 12 Jan 14:30, Jeff Law wrote:
> On 01/11/15 12:26, Ilya Verbin wrote:
> >On 09 Jan 10:29, Thomas Schwinge wrote:
> >>As this was the only use of ENABLE_LTO in the testsuite, I suggest to
> >>also remove it from the gcc/Makefile.in:site.exp rule.
> >
> >Done.
> >Here is an updated and retested patch.  OK for trunk?
> >
> >
> >gcc/
> >	* Makefile.in (site.exp): Do not set ENABLE_LTO.
> >gcc/testsuite/
> >	* lib/target-supports.exp (check_effective_target_lto): Check for -flto
> >	option support instead of ENABLE_LTO from Makefile.
> OK.
> Jeff

This patch caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64605

  -- Ilya



More information about the Gcc-patches mailing list