https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65797
--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> --- The following untested patch could help. We may need to set location of the debug statement etc. I probably won't be able to do much more on this till Monday evening Honza