This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pass 'lto_gimple_out' not found, how to migrate it for GCC v6.x?
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Leslie Zhai <lesliezhai at llvm dot org dot cn>
- Cc: Bernd Schmidt <bernds at codesourcery dot com>, David Malcolm <dmalcolm at redhat dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 28 Jul 2017 09:54:13 +0200
- Subject: Re: pass 'lto_gimple_out' not found, how to migrate it for GCC v6.x?
- Authentication-results: sourceware.org; auth=none
- References: <304f41ef-d6f8-5af6-6ceb-2ee1faaee381@llvm.org.cn>
On Fri, Jul 28, 2017 at 6:12 AM, Leslie Zhai <lesliezhai@llvm.org.cn> wrote:
> Hi GCC developers,
>
> As ChangeLog-2013 mentioned by Bernd Schmidt: ... pass_ipa_lto_gimple_out
> ... Remove. Delete.
>
> there is no 'pass_ipa_lto_gimple_out' in lto-streamer-out.c any more.
>
> then how to migrate it for GCC v6.x? just like this:
> https://github.com/xiangzhai/dragonegg/blob/gcc-6_3-branch/src/Backend.cpp#L2880
> to ignore it?
>
> or do I need to find other equivalent PASS? please give me some hint, thanks
> a lot!
It says
// Disable all LTO passes.
(for whatever reason). So try just removing this part - the pass is
already removed.
Richard.
>
> PS: Thanks for David's hint, I fixed 'undefined symbol
> gt_ggc_mx(tree2WeakVH*&)' issue, I forgot to add 'for_user' for
> GTY((XXX))...
>
> --
> Regards,
> Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/
>
>
>
>