https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759

--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Stefan Talpalaru from comment #16)
> I found a new case that is unrelated to the use of
> -fprofile-generate=directory or the existence of multiple *.gcda files with
> the same name in different directories.
> 
> The problem appears in Python-2.7.15 when building the extensions with PGO,
> using gcc-7.3.0 or gcc-8.1.0 on Gentoo ~amd64:
> 
> [...]/cpython-2.7.15/Modules/timemodule.c:1162:1: internal compiler error:
> in output_profile_summary, at lto-cgraph.c:705
>  }
>  ^
> 
> Detailed instructions for replicating the ICE:
> https://gist.github.com/stefantalpalaru/a1f31b9dff6c2227999e32781741dd01
> 
> Serializing the profiling task does not help, nor does adding
> -fprofile-update=atomic to the profile generation phase.

I can confirm that, let me dig into it.

Reply via email to