https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759
--- Comment #18 from Stefan Talpalaru <stefantalpalaru at yahoo dot com> --- Another clue emerged: the ICE appears only when the same source file is compiled multiple times. When building the extensions, Python replaces the boring Makefile with its own "distutils" build tool that fails to do conditional compilation based on the source and target modification times. Since "timemodule.c" is used by 3 different extensions, it's being compiled 3 times in the profile generation phase and this somehow corrupts the corresponding .gcda file. Once this silly build tool is fixed so it compiles it a single time, the ICE disappears.