On 08/09/2016 09:03 PM, Andi Kleen wrote: > It could potentially make things a lot slower. I don't think it's a good > idea to do this by default. > > -Andi
Ok, alternative can be a warning in the driver that would inform a user that combining -pthread and -fprofile-update=single can lead to profile corruption. My first attempt with option handling gcc.c was not successful, I'll try it once. Is it reasonable approach? Martin